Posts by falrus • 95 points
7 posts
-
0
votes0
answers158
viewsQ: Creating routes (controller/id/action) in c#
I’m trying to create a very specific route on a page of my project. As usual, routes on . NET are controller/action/id but on a specific page I would like it to be controller/id/action. What I got…
-
1
votes2
answers275
viewsQ: Recursion in the Entity-framework
I’m starting in c# and I’m having some difficulties with Entity-Framework. I have the following scenario: public InstituicaoMap() { // Primary Key HasKey(t => t.IdInstituicao); // Properties…
-
0
votes1
answer42
viewsA: Formsauthenticate + jQuery Ajax
I got. First, I removed from the web.config the "<authorization>" leaving only the "<authentication>" <authentication mode="Forms"> <forms loginUrl="~/Login"…
-
0
votes1
answer42
viewsQ: Formsauthenticate + jQuery Ajax
I am creating an application that uses Formsauthenticate to log into the system. However, I would like to make a treatment so that in an ajax request (jquery) made when the user is not logged in. I…
-
1
votes2
answers1059
viewsA: How to create a csv from a database and data query
You can use a similar code. Just remove the table-related tags and replace them with , (comma). Remember that at the end of each line there should be an " n" <?php // cabeçalho do csv // muitas…
-
2
votes1
answer495
views -
4
votes1
answer186
viewsQ: c#: using threads in a "windows Forms" project
In my application I have several "subprocesses". They all emit information in which they are displayed in the Form. I used System.Windows.Forms.Timer: Class x { public Timer timer {get; set;} public…