ASPNET Posts

11-20 of 52
  • ASP.NET MembershipUser ID Field

    Sunday, November 27, 2005
    I'm currently playing around with the new membership stuff in ASP.NET 2.0.  It is simply phenominal.  I love it.  It was a little hard to figure out at first, but once you get going it's really powerful and great.  I'll probably post some more "basics" on it down the road. When creating tables of your own to integrate with the aspnet_Users table like adding UserID to your own table that is an FK back to that table, you'll need the ID field (UserId in the aspnet_Users table) to pass into your Stored Procedures.  Unfortunately, it's not very obvious where it
    Filed under | 7 comments »
  • New Atlas Build

    Tuesday, November 08, 2005
    http://weblogs.asp.net/atlas/archive/2005/11/07/429861.aspx
    Filed under | 1 comment »
  • ASP.NET 1.x Error Message: Access is Denied

    Wednesday, October 12, 2005
    Sometimes, I randomly get an error when developing ASP.NET apps saying that access is denied to some assembly in my bin directory.  Specifically under C:\Windows\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files. A local guy I know from our user group (and work we've done for their company), Jeremy Diller, found the answer for me.  It turns out that it's the Indexing Service freaking out ASP.NET and seemingly locking files.  This answer is gold!  Saved me a ton of (continuing) frustration.
    Filed under | 3 comments »
  • Take Your ASP.NET 2.0 App Offline

    Wednesday, October 05, 2005
    I just learned this a few minutes ago, but you can take an ASP.NET 2.0 application offline temporarily by uploading a file called App_Offline.htm.  It will spin down the appdomain and redirect all requests to that page.  Neato!
  • Atlas Behaviors

    Wednesday, October 05, 2005
    So, in the current tech preview of Atlas they've added a "new" idea of a declaritive code model.  Ok, this isn't new.  This is pretty much how XAML works.  This is used for many things that I'll probably post about later.  Behaviors are used to add functionality to existing controls.  An out of the box behavior that's really cool is AutoComplete.  Ever wanted to have a textbox that has an autocomplete dropdown window that's filtered as you type (kind of like Google)?  Well, Atlas has an AutoComplete Behavior.  Using the new declaritive model you can set it up to call
  • Hello Atlas

    Tuesday, October 04, 2005
    So Wally posted how to get the JavaScript proxy to call a WebService from a page in Atlas.  It's probably obvious to most, but I went ahead and did a little Hello World app in Atlas.  Here are the steps to make a WebService call with Atlas.  Note: You should have Atlas installed. Create a new Atlas Web Project.  Add a new WebService called HelloWorld.asmx and add a WebMethod called HelloMe that takes a String called Name and returns a String. <WebMethod()> _Public Function HelloMe(ByVal Name As String) As String     Return String.Format("Hello, {0}", Name)End Function Let's setup a TextBox and
  • Atlas Client Framework

    Tuesday, October 04, 2005
    Scoble mentions how Java kind of bashes the fact that Microsoft is building WPF to make a big move even more into smart client applications.  You kind of get the sense that Scoble's going back and forth on which is better, web applications or smart clients and some people in the comments, give him some crap for it, but the core idea is dead on: Both Web Applications and Smart Clients have their own individual advantages and to say one is better than the other is fine, but irrelivant.  Use the right tool for the job. Also, in the comments
  • Dynamic Content on Safari

    Wednesday, August 17, 2005
    We have some crystal reports we call to generate invoices.  Basically just setting the content-type and content-disposition header, doing a BinaryWrite, passing it the byte array generated by the crystal report and calling Flash and Close on the Response.  Works just fine in every browser of every OS except for Safari on Mac.  Going through some Community Server code yesterday I noticed that after every Response.Redirect (at least in the code I was looking in) they called Response.End.  I figured maybe it was related, so I added a call to End() and all of a sudden our dynamic reports worked. 
    Filed under | 1 comment »
  • Validation Groups in ASP.NET 1.1

    Monday, August 15, 2005
    So in ASP.NET 2.0 you can have validation groups so one set of fields can be validated when a certain button is clicked and another set of fields on the same page can be validated when another button is clicked.  I don't find myself needing this too often, but this is fantastic for when I do need it.  However, I've recently found a place in one of our applications where we needed it and we're using ASP.NET 1.1.  How to get around it?  This gem of an article describes a kind of cool rig for faking validation groups yourself.  It
    Filed under | 4 comments »
  • Windows XP Style Tabs in ASP.NET

    Friday, July 29, 2005
    First off, I just wanted to say that Telerik makes some great controls.  Secondly, they have a Windows XP theme for their tab control.  This theme is pretty neat, but needs some tweaking to really look perfect and any size with dynamically sized tabs based off of the name of the tab.  Someone saw that I had figured it out and asked how to make it look like this, so I posted the layout and css.  Check it out if you'd like.  Btw, Telerik has added a new version of their tab control since and added support for css on
    Filed under | 0 comments »