Category Archives: MVC

Form Post in Sitecore MVC

Update – 01/12/2015- There is a simplified version available here — https://cprakash.com/2015/01/12/sitecore-mvc-form-post-simplified/ This post is 2nd in series of the proposed framework to solve some of the common problem in Sitecore MVC implementation. In this post I am going to … Continue reading

Posted in Framework, MVC, Sitecore, Sitecore MVC | Tagged , , | 4 Comments

Development Framework for Sitecore MVC

Source code for this framework is available on GitHub It’s been 3 year I have been working on Sitecore Mvc (6.6 & 7.2) and had seen some of the bad and best enterprise framework laid out for Sitecore development. With … Continue reading

Posted in Framework, MVC, Security, Sitecore | Tagged , , , , | 9 Comments

LogViewer for Enterprise Library Database Logging

History At some point in my previous two project, I build the LogViewer application to view the logs generated by my app, most of the time is really easy to just go to database and query with select statement with … Continue reading

Posted in MVC, WebApi | Tagged , , , , , , | Leave a comment

Dynamic Profile ASP.NET – Update

I received a request about the uses of dynamic keyword in profile declaration and in fact it was valid that while declaring the profile object we should be using concrete profile object and not declaring it as dynamic and rather … Continue reading

Posted in MVC, Profile | Leave a comment

Dynamic Profile ASP.NET

Recently, I was trying to use ASP.NET Profile Provider for one of my application but soon ran into trouble due to compatibility issues with my CMS system and complexity involved. I decided to build a generic dynamic Profile class and … Continue reading

Posted in MVC, Profile | Tagged , | Leave a comment

Tutorials – Introduction to ASP.NET MVC

For past few days, I have been training folks in my organization on ASP.NET MVC. I have uploaded the presentation from the session here – http://sdrv.ms/Xk1TrU Do let me know your feedback and check it frequently as I will be … Continue reading

Posted in MVC, Speaking | Tagged , | Leave a comment

Custom Error Handling in ASP.NET MVC

This post covers custom error and exception handling in ASP.NET MVC with more generic approach to satisfy the need of today’s development, today’s development doesn’t mean that we are going to handle the error in a different way than currently … Continue reading

Posted in MVC | Tagged , | 3 Comments

A simple Pdf ActionResult in MVC

Recently, I needed an ActionResult implementation to return the Pdf documents from my Controller Action to MVC views and it tooks few minutes to build the functionality on the existing FileResult. I decided to build a base class PdfResult to … Continue reading

Posted in MVC | Tagged , | 13 Comments