ASP.NET MVC 5 is the fifth major version of the ASP.NET Model-View-Controller platform for web applications.
3
votes
1answer
69 views
Configuring MVC 5 project with service layer and DI and UOW
In the past I have always called the repositories directly from the controller, but that is a bad practice and now I am implementing a "Business Layer" to my project.
Would I have two UnitOfWorks? ...
1
vote
1answer
39 views
Formatting MVC 5 Razor link as a string
MVC 5 doesn't seem to like JavaScript that much.
I am creating link in JavaScript to a success method in my Ajax call.
Razor:
...
3
votes
0answers
34 views
Redirecting a user
When the user clicks the first button ('Back to List' button), I redirect the user to the Employee List page. Can you please review this and suggest if there is any better way of achieving the same?
...
5
votes
2answers
89 views
Support ticket application: ticket listing index with sorting and filtering
I am new to ASP.NET (C#) and MVC 5. I'm really enjoying it so far, but want to take a step back and make sure that I'm following best practices here. My controller seems like it may be getting too ...
6
votes
1answer
48 views
Searching school data
I am running a test load using Telerik Test Studio using 100 users at once entering search filters on a page that calls a stored procedure.
My application that calls the stored procedure is an ...
4
votes
1answer
698 views
N-layered application structure in ASP.NET MVC 5
I've been trying to set up an n-layered application in ASP.NET MVC 5. I've converted my account controller to look like this.
I would like some feedback as to whether this is going in the right ...
1
vote
0answers
200 views
WebApi synchronize database (EF 6) access
I'm working on an ASP.Net MVC 5/WebApi 2 project. I'm using EF 6 code first for my database access.
I have a WebApi action method in which I've to update some data in my database based on the ...
5
votes
2answers
23k views
Simple authentication in ASP.NET MVC 5
I am building an ASP.NET MVC 5 application and, for reasons which are irrelevant at this point, I am attempting to build my own means of authenticating users. I'm still very new to programming, ...
3
votes
1answer
2k views
Web application using the repository pattern
I have an ASP.NET MVC 5 web application using the repository pattern, and I have several controllers that need to call my _loggingService (queries audit logs) to ...
2
votes
2answers
185 views
Student data in a database [closed]
I am working on an ASP.NET MVC 5 project, using the code-first approach for database design. I have a question about my code design.
I have an Entity in my database schema called ...