Get controller name
In WebApiConfig.cs i have the following
In WebApiConfig.cs i have the following
I am storing custom claims, such as the user’s real name, in the ASP.NET Identity cookie to avoid unnecessary database queries on every request. At least that’s what I assume this code is doing:
I’m learning EF now and have a question regarding the ObjectContext:
I am working on a commercial web application that has a separate mobile browser version intended for the more capable devices (BlackBerry, iPhone, Android, etc). I don’t want to do simple User Agent contains style logic and was looking at the various detection libraries. It seems like WURFL and Mobile Device Browser File are my best options.
I needed to add an extra field to Role identity table in ASP.NET MVC 5.
How to get End Date after selection of Start date from drop down list.
I have a box with Windows Server 2008 and IIS 7, and I’m using an ASP.NET app.
I am trying to run multiple sites from one IP, but I can’t access the sites from the outside. I can only access the Default website from outside but when I want to access the second one it does not work.
My current position is this: if I thoroughly test my ASP.NET applications using web tests (in my case via the VS.NET’08 test tools and WatiN, maybe) with code coverage and a broad spectrum of data, I should have no need to write individual unit tests, because my code will be tested in conjunction with the UI through all layers. Code coverage will ensure I’m hitting every functional piece of code (or reveal unused code) and I can provide data that will cover all reasonably expected conditions.
I’m extending the ApplicationUser class by adding a new property (as shown in the tutorial
Create an ASP.NET MVC 5 App with Facebook and Google OAuth2 and OpenID Sign-on (C#))