Geeks With Blogs
ken spencer March 2011 Entries
MVC: Controller
Lets say you have a controller method in mvc that looks something like this: <AcceptVerbs(HttpVerbs.P... _ Public Function Action(somedate As String, feature As String, Consultant As String) As ActionResult …Code Return View(RecapView) End Function And RecapView would be some view you have defined that gets shown by action when it finishes. But when you run the app, it says something like “Hey, we can’t find this page called RecapView.aspx “ and so forth. This error occurs because apparently ......

Posted On Wednesday, March 30, 2011 4:10 PM

SQL Server: Sp_HelpText
I love TSQL. Its really cool. I have switched gears and now am working an converting a large asp classic project to MVC / vb.net. Interesting. So, I am reworking the sql into a repository set of classes. As I do I need to 1) exec stored procedures to test them and 2) get a list of the parameters to setup sqlclient parameters. Item no 1 is easy. I can just use exec to fire the sproc: exec dbo.someSproc 1,20 And now to get the list of parameters: exec sp_helptext someSproc This give me the sprc in ......

Posted On Tuesday, March 22, 2011 4:01 PM

IE9
Hot dog. IE 9 just hit the download sites this week. I have been running it for a few days and its really sweet. It seems much faster than IE 8 and many other browsers and its got lots of cool features. Some of the ones I really like are: New tab format with one click creation and putting them up top. Cleaner UI Ability to drag a tab off the tab bar and have a new window created Integrated address / search box Support for HTML 5 check out http://www.beautyoftheweb.com/ to see some of the cool features. ......

Posted On Thursday, March 17, 2011 4:12 PM

Silverlight: Creating great UIs
I was always told I was left brained and could not draw. And I bought into that view. Somewhere down the road years ago I did learn to play guitar and to play by ear at that. Now that’s not all left brained so my right brain must be working. About a year ago, my good friend Billy Hollis turned me own to a book by Betty Edwards (http://www.drawright.com/). I started reading this and soon I found my self drawing on napkins in restaurants while we were waiting on food and at many other times too. Dang’d ......

Posted On Monday, March 14, 2011 8:33 PM

MVC 3: ActionLink VB.Net
Theres not a ton of good samples out there on using MVC with VB, so I am going to post some things that I am doing on a project. Lets look at links. I am converting a asp classic app to mvc. One page has an anchor tag which I modified to look like so to point to a controller action: <A style=color:red; HREF='Detail/" & currentItem.IdNumber & "'>" & currentItem.IdNumber & "</A> This resolves out to what looks like the right URL and in fact the detail action is fired. The ......

Posted On Thursday, March 10, 2011 8:30 AM

IE 9:Release
Yippie: IE 9s coming out March 14!: http://windowsteamblog.com/... For you guys that love other browsers that’s ok. Personally I love IE for many reasons such as ease of use and stability. I am cranked up to see what IE 9 does as it was retooled from the start. So this one should be big. Also, its bringing HTML 5 support now so we can have much richer applications. Its about time that HTML was revved to move from the old text ......

Posted On Wednesday, March 9, 2011 3:38 PM

VS 2010: SP1
I posted this yesterday but had the wrong link at the bottom. SP1 for VS 2010 just hit the web today. Check it out at http://support.microsoft.co... This should fix lots of big and little things such as startup time, bugs and more. Plus there are tons of features in there too for web, xaml, and other application types. I am really excited about the unit testing and load testing features that were added. Theres also an update for .Net 4 framework. And check out the new Silverlight ......

Posted On Wednesday, March 9, 2011 7:33 AM

VS 2010: SP1
SP1 for VS 2010 just hit the web today. Check it out at http://support.microsoft.co... This should fix lots of big and little things such as startup time, bugs and more. Plus there are tons of features in there too for web, xaml, and other application types. I am really excited about the unit testing and load testing features that were added. Theres also an update for .Net 4 framework. And check out the new Silverlight performance wizard. Lots of really cool stuff. Get it today! ......

Posted On Tuesday, March 8, 2011 12:57 PM

MVC: Nasty __o not declared
I ran into this little error with MVC where a bunch of errors showed up about __o not declared. This was driving me nuts. Then I ran across this link that solved it. http://stackoverflow.com/qu... So, the solution is to put this into the top of the page like VS does for your site.master. <%-- The following line works around an ASP.NET compiler warning --%> <%: ""%> But what about other pages? Lets say you have a view that’s using your site ......

Posted On Friday, March 4, 2011 12:07 PM

Copyright © xamlnotes | Powered by: GeeksWithBlogs.net | Join free