Author Archives: cprakash

About cprakash

A developer, passionate about .Net, Architecture and Security.

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

GlassMapper with Unity as DI Container

Default GlassMapper demo application uses CastleWindsor as DI container to resolve the dependencies in the runtime. This is also documented as part of the 1st tutorials on glass mapper site. There is another implementation with SimpleInjector but in situation if you … Continue reading

Posted in Sitecore | Tagged , , | Leave a comment

Sitecore Form Authentication Cookie Renewal and Sliding Expiration

Problem Implement Session Timeout feature in Sitecore and support default form authentication behavior of authentication cookie renewal/expiration and sliding expiration. I looked around the login method and it was called in a standard manner with a call to Sitecore’s Security … Continue reading

Posted in Sitecore | Tagged , , , | Leave a comment

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

Policy Based Authorization in Windows Identity Foundation (WIF) – Part II

Policy based authorization has been gaining ground lately though it is not fully adopted, XACML – 4 main components PAP is the Policy Administration Point This is where you administer the policies changing the security rules, and policies. This is … Continue reading

Posted in Security, WIF | Leave a comment