asp.net-mvc
Lock Down ASP.NET MVC App Administration Site to LocalHost only
I have an ASP.NET MVC website that I would like to add a small administration page to. The issue I have is that I will be deploying this all over and I will not have SSL available. I am OK with requiring the administrator to remote desktop and use the local browser to perform the administration.
Using RouteExistingFiles to block access to existing files even if no route exists
In ASP.net MVC 2, I can use routes.RouteExistingFiles = true; to send all requests through the routing system, even if they exist on the file system.
MVC Foolproof Validation using PassOnNull – Nullable or “01.01.0001 00:00:00”
I try tovalidate two dates (start -> end) where only the first ist required, but when the user enters the second date it must be greater than the first. I’m using the MVC Foolproof package with the “PassOnNull” parameter.
How to hide controller name in Url?
How to hide controller name in Url?
Updating only part of a model
I’m using ASP.NET MVC 3 and Entity Framework Code First. I have a page (using Razor View Engine) which allows a user to update parts of a model (Product):
ASP.NET MVC Creating an object with related object in one view
I’m new to ASP.NET MVC and I want to create a view where I can create a new object along with the related objects.
Send Email After Button Click in ASP.net C#
Hi i am trying to send am email after Button click in Asp.net.
C# ASP.NET MVC Manually Accessing Request.Form & Potentially Dangerous values
I’m serializing and saving form and query string data to a database for each user request. This particular submitted model already has the [AllowHtml] attribute and submits fine to the controller. The issue is inside the Global.asax file where I log the request, when I access this form value I get the exception:
ASP.Net MVC identity infinite redirect loop
I have an ASP.Net MVC5 application, using the Identity “out of the box” template, as per ASP.Net Identity 2.0.0. I need to upgrade it to use the newer code that is in the latest ASP.Net MVC template, namely the use of the SignInManager class.