Подпишись на наш Twitter

Быть в курсе появления новых статей!

.NET

  1. C# Fundamentals: The Joys and Pitfalls of Enums — First, a quick recap of enums for those who are brand new or less familiar with them. Basically, enums a great way to declare a variable of a type that can be one of a fixed set of values.
    If you didn’t use enums, you would probably set up a bunch of string or integer constants instead. String comparison is, of course, more expensive than numeric comparison (though, of course, integers are harder to interpret through their raw values)...
  2. Floating point numbers and string representations — I’ve recently been doing some work on the HealthVault SDK to improve the consistency of how it deals with floating-point numbers, and thought that the information would be of general interest...
  3. Unit Tests and LINQ Queries — It’s easy to test LINQ queries when the LINQ queries always execute entirely in memory – like with LINQ to objects or LINQ to XML. All you need to do is put some in-memory data together and pass it to code executing the query...
  4. Recursive Descent Parser using LINQ: The Augmented Backus-Naur Form Grammar — A grammar is a device to define syntax for a language. A grammar is made up of rules, sometimes called productions. Each rule defines a symbol, when can then be further used in other rules. Grammars are not hard to understand; most developers instinctively understand grammars when they see them. When you learn a new programming language, almost without thinking about it, you assemble some version of the grammar in your head...
  5. Working with Zip Files in .NET [Richard Lee] — Before getting started, I’ll introduce myself. My name is Richard Lee, and I’m a developer intern on the BCL for the summer. I’ve only been here for a few weeks, but it’s been great working here. The people, the environment, and my project are all great. Speaking of which, my project is to add general purpose .NET APIs for reading and writing Zip files, which we’re considering adding to the next version of the .NET Framework...
  6. Null Or Empty Coalescing — In my last blog post, I wrote about the proper way to check for empty enumerations and proposed an IsNullOrEmpty method for collections which sparked a lot of discussion...
  7. Testing Email Sending — Recently I learned a couple of interesting things related to sending emails. One doesn’t relate to .NET at all, so if you’re a developer and you want to easily be able to test whether or not emails are working correctly in your application without actually sending them and/or installing a real SMTP server on your machine, pay attention. You can grab the smtp4dev application from codeplex, which will listen for SMTP emails...

Web

  1. July 9th Links: ASP.NET, ASP.NET MVC, jQuery, Silverlight, WPF, VS 2010 — Here is the latest in my link-listing series. Also check out my VS 2010 and .NET 4 series and ASP.NET MVC 2 series for other on-going blog series I’m working on...
  2. Introducing “Razor” – a new view engine for ASP.NET — ASP.NET MVC has always supported the concept of “view engines” – which are the pluggable modules that implement different template syntax options. The “default” view engine for ASP.NET MVC today uses the same .aspx/.ascx/.master file templates as ASP.NET Web Forms. Other popular ASP.NET MVC view engines used today include Spark and NHaml...
  3. New Embedded Database Support with ASP.NET — Earlier this week I blogged about IIS Express, and discussed some of the work we are doing to make ASP.NET development easier from a Web Server perspective. In today’s blog post I’m going to continue the simplicity theme, and discuss some of the work we are also doing to enable developers to quickly get going with database development. In particular, I’m pleased to announce that we’ve just completed the engineering work that enables Microsoft’s free SQL Server Compact Edition (SQL CE) database to work within ASP.NET applications. This enables a light-weight, easy to use, database option that now works great for ASP.NET web development...
  4. Great Ways to Learn jQuery — These jQuery resources will set you on the path towards mastering jQuery...
  5. Introducing WebMatrix — Today we are also announcing a new lightweight web development tool that also integrates the above technologies, and makes it even easier for people to get started with web development using ASP.NET. This tool is free, provides core coding and database support, integrates with an open source web application gallery, and includes support to easily publish/deploy sites and applications to web hosting providers...
  6. Microsoft WebMatrix in Context and Deploying Your First Site — I've said before that Microsoft is just now starting to get the "right-sized LEGO pieces." It the past some stuff was too little or too big, but now as an example, here's five separate and right-sized LEGOs (ya, I know it's singular) that are helpful for the professional and the folks just getting starter, or those who don't want to learn a bunch of stuff to setup and/or modify a website...
  7. 25 Incredibly Useful CSS Tricks You Should Know — Here are 25 incredibly useful CSS tricks that will help you design great web interfaces. You might be aware of some or all of these techniques, but this can be your handy resource to nifty CSS tricks that you should know...
  8. Creating Bar Graphs using jQuery UI — This tutorial already assumes you know jQuery and basics of jQuery UI. First goto jQuery UI website and download your copy of jQuery. Feel free to download any theme you like...

Visual Studio

  1. VS 2010 productivity improvements - Part I — Every developer deserves a fantastic development environment that allows them to write, understand, navigate, and debug code as efficiently as possible. After all, developers spend most of their time in the IDE...
  2. VS 2010 productivity improvements, Part II — You could say the code editor is the most important feature of any development experience. After all, that's what lets you create, see, and change your code. Without a code editor, no other features matter in an IDE. Around the editor is built the rest of the development environment...
  3. VS 2010 Productivity Improvements, Part III — In my previous posts on the productivity improvements in Visual Studio 2010, I've focused on features that all VS developers can take advantage of. Sometimes, though, the most useful features are those that are specific to the development language you're using or platform you're developing for. After all, C++ developers often need different features than C# developers, and web developers have different requirements from Windows developers...
  4. VS 2010 Productivity Improvements, Part IV — My previous posts on the productivity improvements in Visual Studio 2010 highlighted features of Visual Studio that you can use right out of the box. Today, I'm going to focus on extensions to Visual Studio that enhance the coding experience for Visual Studio 2010 Professional, Premium, and Ultimate users...
  5. VS 2010 tabs appearance improvements — As a follow-up to my post about Visual Studio Pro Power Tools, I advise you to take a look at the following post from the VS team: Document Well 2010 Plus: Hidden Options.
    It provides great options for further improving the appearance of tabs in Visual Studio 2010...
  6. Small bug in Visual Studio Pro Power Tools — A few weeks ago, Microsoft released the Visual Studio Pro Power Tools, a free set of enhancements and features for Visual Studio 2010. There seems to be a small issue (it’s not really correct to call it a bug) with one of the shortcuts that it adds in combination with a Belgian keyboard layout (which is Azerty)...
  7. ReSharper Shortcut for Context-Sensitive Unit-Test Running — For a keyboard shortcut to the context-sensitive ReSharper unit test runner (otherwise available via right-click > Run Unit Tests), map...

Development/Miscellaneous

  1. Outlook 2010 – Disable the read receipt annoyance — Do you have those friends, co-workers, or bosses, who by default request a read-receipt on every email they send? Yes, I have those immature stalkers in my life too.
    Why are read receipts evil...
  2. FireBug for All Other Browsers — For those of you who do a lot of work with tools like jQuery and more specifically, the $ajax calls you can make, you need to be aware of tools like Firebug for troubleshooting the Params, Headers and Response you get back from the server. I find it especially useful when I’m working with a new plugin or tool like jqGrid, because it gives valuable (and time saving) insight into the calls that are being made from these plugins...
  3. How I Cloned my Laptop Hard Drive or Skirting the Dreaded Hard Drive Kerklunk — Recently, my laptop hard drive started emitting the dreaded, "kerklunk, rriiipppphphhhh" noise. Oh yes, you've awoken in a sweat with this nightmare, haven't you? It's a sure sign of a failed drive coming down the pike. Incoming...
  4. Safely signing in on a computer that's not yours — One of the big problems with the proliferation of spyware and bots is that using a computer that has not been in your possession or control 100% of the time could result in bad things happening when you log into a website...
  5. Sync It. Sync It Good — You've either had, or will have, a data loss disaster. Mine came in 1999, when we moved from Phoenix back to Boston. Booting my primary PC into Windows Setup, I chose what I thought was the correct partition to which to install the OS, tapped Enter on the keyboard and...



Дата публикации: 11.07.2010 17:08

Ярлыки: .NET, Development, Visual Studio, Web