Browse by Tags
All Tags »
Learning .NET (
RSS)
Warning, this is long but full of info. Read it all. Often folks want to dynamically generate stuff with ASP.NET. The want to dynamically generate PDFs, GIFs, PNGs, CSVs, and lots more. It's easy to do this, but there's a few things to be aware of if you want to keep things as simple and scalable as possible. You need to think about the whole pipeline as any HTTP request comes in. The goal is to have just the minimum number of things run to do the job effectively and securely, but you also need to think about "who sees the URL and when." This diagram isn't meant to be exhaustive, but rather give a general sense of when things happen. Modules can see any request if they are plugged into the pipeline. There are native...
Do you like a big pile of source code? Well, there is an imperial buttload of source in the Visual Studio 2010 and .NET Framework 4 Training Kit . It's actually a 178 meg download, which is insane. Perhaps start your download now and get it in the morning when you get up. It's extremely well put together and I say Kudos to the folks that did it. They are better people than I. I like to explore it while watching TV myself and found myself looking through tonight. I checked my blog and while I thought I'd shared this with you before, Dear Reader, I hadn't. My bad, because it's pure gold . With C# and VB, natch. Here's an outline of what's inside. I've heard of folks setting up lunch-time study groups and going through...
ScottGu announced Microsoft WebMatrix Beta today. It's a small (15 megs if you have .NET 4, 50megs if you don't) lightweight IDE for making ASP.NET or PHP websites. It has a small embedded file-based SQL Database, and a web-server called IIS Express that's compatible with the full version of IIS. It uses a View Engine called "Razor" to make Web Pages, and your sites can be later be expanded to use all of ASP.NET MVC. It's a simple syntax that is easy to learn It uses the WebDeploy engine to deploy apps to hosts, setting up permissions, copying databases, etc. WebMatrix also has the Search Engine Optimization Toolkit built in, so you can spider your own site and see how Search Engines see it. It'll make recommendations...
It's a big day at Microsoft today as Visual Studio 2010 officially releases. There's a lot going on with this release and I thought I'd do a big rollup post with lots of details and context to help you find your way to the information and downloads you're looking for. Download Visual Studio 2010 First, if you want it, go download Visual Studio 2010 now. If you're an MSDN Subscriber or WebSiteSpark / BizSpark member, you can download the final release now. If not, you can download a free trial or one of the free Express editions . Microsoft Visual Studio 2010 Professional Web Install ISO (DVD-9) Microsoft Visual Studio 2010 Ultimate Web Install ISO (DVD-9) Microsoft Visual Studio Team Foundation Server ISO (DVD-9) I'm...
A few years back I wrote a post on the size of the .NET Framework . There's historically been a lot of confusion on the site of the .NET Framework. If you search around on the web for ".NET Framework" or ".NET Framework Redistributable" you'll often get a link to a 200 meg download. That download is the complete offline thing that developers redistribute when they want to install the .NET Framework on any kind of machine without an internet connection. The .NET 3.5 Client Profile is more like 28 megs and the .NET 4 Client Profile is a looking smaller that than, in fact. Back then I made this website, SmallestDotNet.com to help out. It'll sniff your browser's UserAgent and tell you want version of .NET you...
In October of 2008 I took an informal survey on Twitter . I wanted to get an idea of what features of the .NET Framework people were using. Also, here's the disclaimer. I did this on a whim, it's not scientific, so the margin of error is +/-101%. That said, the results feel intuitively right to me, personally. I put the poll out again last week, adding only Silverlight to the end as an option. I realize I could have added many other subsystems and choices, but I felt it would have made this new poll too different from the original. There's certainly many ways that it could be improved as a survey, but it's best to think of it more as a "which direction is the wind blowing" question, than a survey per se. I also didn't...
Lots of big stuff happening this week. Today Visual Studio 2010 Beta 2 is available to MSDN Subscribers and it'll be available for everyone on Wednesday. I'm running Beta 2 on all my machines now and really digging it. It's much faster than Beta 1 and I'm doing all my work in it now. It's come a long way and I'm really impressed at the polish. .NET 4 This is a big deal. This isn't ".NET 3.6" - there are a lot of improvements of .NET 4, and it's not just "pile on a bunch of features so you get overwhelmed." I've been working with and talking to many of the teams involved and even though it's a cheesy thing to say, this is a really customer-focused release. Shouldn't every release...
A buddy of mine and I had a nice slap in the face yesterday. I was helping him deploy an ADO.NET Data Service to a large company's staging server and we were seeing REALLY odd behavior. We'd request something like /myservice.svc and get a 404. But we could request /myservice.svc/Stuff or /myservice.svc/?metadata. We settled in to debug this. We thought we were "getting down to basics." You know, you've done this. The conversation goes something like: "Ok, people, what's the definition of insanity? Trying the same thing and expecting a different result." "Right...let's challenge all our assumptions. Let's start from scratch. Can get Hello World working?" "What's the ACLs on...
More Posts