passing different models to view based on razor theme engine
I’m using a pattern similar to the one here to implement a Themed View Engine. Basically instead of having a View folder, I have a Theme folder and inside different themes: default, red, blue, green,...
View ArticleAngularJs with ASP.NET MVC – How to create solution structure [on hold]
How and where to place Angular controller files in the ASP.Net MVC solution structure which can be easy to find and maintain?
View ArticleProper use of model in asp mvc
What is a proper use of model in asp mvc? Should a model contain only data that will be accessed inside a form, or it is also a good idea to put data that are static and would be used in a view, but...
View ArticleImplementing internal own authentication
Let me apologize first if this topic is too subjective, or not concrete enough. I want to implement a login api for an internal web service at my company using asp web api 2. I know how to implement a...
View ArticleTop Menu bar driving a sidebar sub menu
I have an application written is C# ASP.NET MVC 4 with Razor views. I am a bit stuck on my menu structure. As per the image above, one can see that there is a Top Menu and a Side Menu. The standard...
View ArticleSharing authorization logic between ASP.NET MVC 4 and WebAPI 2 projects
Pretty similar to this question here the current application that we are working on has a separate MVC 4 and WebApi 2 projects, where the MVC project is processing the user request to the WebApi which...
View ArticleHow can I reinforce that security questions answers should not be the same...
When my users are creating an account they need to fill and set several security questions pertaining to their account. I am wondering, how can I make sure that the answer the user enters for each...
View ArticleBest approach in preventing the execution of an action in asp.net mvc [on hold]
What is the best approach in preventing to have an error page when clicking on any of the link of the page while the page is still loading? We always encounter this espcially if the link has something...
View ArticleMigrating large silverlight business application to MVC
I have the task to migrate a large silverlight business application in a new living technology. I had choosed asp.net MVC and web api. As we know, silverlight uses MVVM design pattern whereas asp.net...
View ArticleWhen starting a new ASP.NET application, what changes when I change from .Net...
Using Visual Studio 2015 update 2, creating a new ASP.NET 4.x application, the default .Net “Target framework version” is 4.5. Is it a mistake to bump this to 4.6? I did my own research, and I am...
View Article