mmeisinger

Stories kicked by mmeisinger

Handling Validation Errors in MVC (a different approach)(meisinger2.wordpress.com)

submitted by mmeisingermmeisinger(40) 3 years, 10 months ago

As we all know you should never rely on client side validation and you should always validate input (especially user input) prior to calling any business methods or database calls. My problem has always been with trying to get the validation messages back to the client. I am always determined to have my validation routines in my business layer. But then comes time to report validation errors back to the client and I end up sticking them in the code behind. Sure I might (emphasis on might) create a utility or helper class but then the routines become more and more specific and less and less common and I am right back to sticking them in the code behind. Where else can you put them since you not only have access to the control but you also have all the tools you need to render the output? While I have been playing with MVC I have found myself once again struggling with sending validation messages back to the user. This time, however, I decided to try a few different techniques and one has proven to work well (for me at least). read more...

add a comment |category: |Views: 19

tags: another

Inversion of Control and Dependency Injection... Part 1(mmeisinger.blogspot.com)

submitted by mmeisingermmeisinger(40) 4 years, 2 months ago

Inversion of Control (IoC) and Dependency Injection patterns have been making more news as of late with the MVC and Mocking frameworks. In this first post we will briefly cover what these patterns mean and what Dependency Injection looks like read more...

add a comment |category: |Views: 13

tags: another

ASP.Net MVC Source Code Available... our first test?(mmeisinger.blogspot.com)

submitted by mmeisingermmeisinger(40) 4 years, 2 months ago

With the source code to ASP.Net MVC being made available to us... are being tested? Is this a pattern that is going to be repeated? Are we as .Net developers being given the chance to influence our own future? Only we can decide... read more...

add a comment |category: |Views: 2

tags: another

ASP.NET MVC Source Code Now Available(weblogs.asp.net)

submitted by mehfuzhmehfuzh(1906) 4 years, 2 months ago

Last month I blogged about our ASP.NET MVC Roadmap. Two weeks ago we shipped the ASP.NET Preview 2 Release. Phil Haack from the ASP.NET team published a good blog post about the release here. Scott Hanselman has created a bunch of great ASP.NET MVC tutorial videos that you can watch to learn more about it here.... read more...

add a comment |category: |Views: 27

tags: another