Tag Info

New answers tagged

5

Yes. FormsAuthentication is deprecated in MVC 5 and onwards. At least, that's the short answer. The long answer is that pre-MVC 5 traditional FormsAuthentication is still ok to use. It is, however being phased out in favour of alternative approaches such as ASP.NET Identity. In Visual Studio 2013, the authentication options supplied for and MVC 5 ...


0

I can sympathise with your view, Ive been in a similar position with too many WCF layers all on the same box, each one passing the same call down the stack. However! the point of SOA is that you can orchestrate your services. if you skip a layer then you have lost that flexiblity. eg. I want any calls to logic X also trigger logic Y. I can add the extra ...


0

if you go the task route write the task to run every 10 minutes, select movies which are out of date and update them. otherwise you will end up with a massive task every ten days. But I would suggest you just run this check when a movies is retrieved from the db instead. If its not found OR out of date, goto imdb and update


0

I believe this is a perfect use case for a view, in other words a "virtual table" defined by an SQL query on real tables in the database. By default a view is generated from the real data every time a query needs to be executed on it, but some RDMSs support views with caching/precomputing/etc. Oracle calls these "materialized views", and SQL Server calls ...


1

You can manually minify and bundle the files and add some compilation instructions to switch between the two options depending on whether you are building for release or debug If its your own javascript/css and it changes often you can automatic the minify process into your build script.


1

First MVC has 3 layers. Model, View, and Controller. Trying to Make BLL or n-Teir Layers fit is not going to work very well. M - Model, this is where you "access and store" your data. V - View, This is where you render, or represent your data. C - Controller, This is the glue that lets views tell your models how/what to render via views. In a modern web ...


1

I assume by REST you mean a Web Api of some sort? this should be an alternative UI layer ie DAL -> Repo -> Model/Services -> MVC app OR -> Web.API OR -> Windows app OR --> Mobile App etc Alternatively you can expose the repository as an API layer (although you'll have to consider security) DAL -> Repo -> RepoService API -> RepoClient -> ...


1

There's no way to know; we can't predict the future. However, Entity Framework is built on top of ADO.NET, so Microsoft deprecating it is unlikely. Using ADO.NET instead of EF seems short-sighted to me. You can always use EF 90% of the time when either performance isn't critical or it's going to perform the same as ADO.NET anyway, and utilize ...



Top 50 recent answers are included