Quantcast
Channel: Christian Weiss - Use wrappers to access your cookies, sessions, …
Browsing latest articles
Browse All 12 View Live

Christian Weiss on Use wrappers to access your cookies, sessions, …

Testable and reusable cookie access with ASP.Net MVC RCTestable and reusable cookie access with ASP.Net MVC RC

View Article



Christian Weiss on Use wrappers to access your cookies, sessions, …

I've just posted a follow-up as described in my previous comment!check it out: www.cweiss.at/.../...ccess-with-ASPNet-MVC-RC.aspx

View Article

Christian Weiss on Use wrappers to access your cookies, sessions, …

Hi Chris,I'm learning a lot about TDD, IOC, ... right now, but I haven't felt comfortable enough to write this post the way you described it. I will give it a try today or tomorrow and add it to this...

View Article

Chris Marisic on Use wrappers to access your cookies, sessions, …

I have one suggestion, you might want to abstract this one level further and instead of just having your static GetValue/SetValue methods to actually take in an interface of say ICookieContainer, then...

View Article

Christian Weiss on Use wrappers to access your cookies, sessions, …

Hi John,thanks for your comment. I didn't use generics in this example, because you can only store strings into cookies. I didn't want somebody to think about storing too complex types in cookies, as...

View Article


John Sheehan on Use wrappers to access your cookies, sessions, …

You should use generics on GetValue to handle returning the type you want.

View Article
Browsing latest articles
Browse All 12 View Live




Latest Images