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

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

.NET

  1. The Truth About Value Types — The way in the past I've usually pushed back on this myth is to say that the real statement should be "in the Microsoft implementation of C# on the desktop CLR, value types are stored on the stack when the value is a local variable or temporary that is not a closed-over local variable of a lambda or anonymous method, and the method body is not an iterator block, and the jitter chooses to not enregister the value."
  2. Converting a concatenated String into String.Format — The macro’s purpose is simple - turn a string that you are concatenating into a String.Format statement. This generally produces much more readable code and becomes more maintainable long term. It even attempts to recognize when you are already using a formatted ToString...
  3. Enumerating Through XML Elements Using LINQ-to-XML — 4Guys reader Dan D. recently emailed me with an inquiry surrounding my article series, Building a Store Locator ASP.NET Application Using Google Maps API, specifically on how to access a different set of XML elements within the XML data returned from the Google Maps API’s geocoding service. Google’s geocoding service is offered as a URL that, when requested, returns information about a particular address. For instance, if you point your browser to http://maps.google.com/maps/api/geocode/xml?address=1600+Pennsylvania+Ave,+Washington+D.C.&sensor=false you should see an XML response that indicates whether the address is valid, the formatted address, the components that make up the address, and geographical information about the address, including the latitude and longitude coordinates...
  4. Redlining C#'s Dynamic Features — Before I go any further: the point of this post isn't to convince you of anything (where have I read that before?) - it's to explore a new language feature completely and, hopefully, have a good discussion on it. If you are feeling a bit of a gag reflex - I think It's important to know why. What is it that is causing you to dislike what you're about to see? C# is going more and more dynamic - time and feature set have proven that. Maybe it's time to bend your thinking? Or maybe it's not...
  5. Links to Scott Guthrie's Using LINQ to SQL Tutorials — Back when Visual Studio 2008 came out, Scott Guthrie wrote an excellent series of blog posts on using LINQ to SQL. Unfortunately, the various installments are not easy to follow when starting from Part 1 and going onward, so I've decided to gather and organize the links here for myself and for anyone else interested in his tutorial...
  6. NuPack brings package management to Microsoft .NET — Microsoft has announced the beta release of NuPack, which is a package manager for .NET projects, mainly focused on open source libraries. NuPack itself is open source.
    I downloaded NuPack and took a look. It installs as a Visual Studio extension, and I used it with Visual Studio 2010. Once installed, you get a new Add Package Reference option for any .NET project, which opens this dialog...
  7. Some Best Practices for C# Application Development (Explained) — Few days ago, in one my earlier post, I listed “Some Best Practices for C# Application Development” from my past few years experience, which got a huge hit by my readers. I got several feedbacks on that too. Many of my readers gave valued suggestions too...

Web

  1. Hanselminutes Podcast 236 - Misunderstanding REST with Mike Amundsen — Web Services with SOAP are a pretty well understood thing, but what's all this appeal about REST? Is REST just CRUD (Create Read Update Delete) for the Web? Is it a pattern, a style or dogma? Recognized REST expert Mike Amundsen sets Scott straight.

Visual Studio

  1. A Visual Guide to speeding up Visual Studio 2008/2010 — “I believe that better tools lead to better results. That’s why I care about my tools performance a lot!
    Recently I had a conversation with Peter Kirchner and Kay Giza on how to speed up Visual Studio. Specifically by configuring you Anti-Virus software. But beside that there are loads of things that you can do.
    So I decided to share the tweaks on environment:...
  2. 5 Easy Tips to Reduce and Refactor Your Code with Resharper — I’ve talked a lot about Resharper features such as the Find Usages, live templates, and the instant code analysis. But I have not talked about some of the features that are not as prominent but I find especially helpful. So here are a few very simple tips for how to clean your code up using Resharper...
  3. 5 (more) Easy Tips to Reduce and Refactor your Code with Resharper (Tips 6-10) — This weekend I posted 5 simple ways to reduce your code using Resharper (tips 1-5). I decided to follow that up with another set of 5 quick and easy tips, so here they go. Hopefully these tips will show you some things I do to turn on (and off) some refactoring suggestions...
  4. Patch for VS 2010 “Scrolling Context Menu” — One of the top reported Microsoft Connect issues with VS 2010 has been an issue where context menus scroll even when there is sufficient screen real estate to show the menu in its entirely (with no scrolling required).
    The VS and WPF teams issued public hotfixes today that you can download to fix this issue. You can learn more and download them here.
    You can review my previous posts about other public VS 2010 hotfixes that are available below:...
  5. Our Visual Studio Extensions hit over 20,000 downloads! — A few months ago Visual Studio 2010 RTM was released. My friend Cory and I noticed a few features that would really come in handy but were not included in the release. After learning how to write extensions, we decided to create a few of our own. We used all of them locally for a while. Around April/May we decided to publish them to the Visual Studio Gallery so they can help other developers as well. Overall, I'm pretty satisfied with the outcome. We got a lot of good feedback on them and it seems like we've helped a lot of people. It's always nice seeing those 5 star reviews come in! The total download count for our 8 extensions as of now is 21,321! Obviously, I set my expectations too low on these projects because I figured the cumulative count would max out around 10k. Thanks to all that downloaded our extensions! If you haven't downloaded them, feel free to check them out and drop us a review on the VIsual Studio Gallery!...
  6. Windows Phone 7 Developer Tools Released — I’m pleased to announce that today we shipped the final release of the Windows Phone 7 Developer Tools. You can download them here...
  7. Develop for Adobe Flash/Flex in Amethyst for Visual Studio — SapphireSteel Software is poised to release Amethyst, which lets you develop Flash and Flex applications with Microsoft’s Visual Studio 2008 or 2010...
  8. Amethyst, a Flex IDE for Microsoft Visual Studio Released — Amethyst is a fully-featured Visual Studio IDE for the Adobe Flash Platform. It supports the drag-and-drop design, editing and debugging of Flex and AIR applications and it can also load Flash IDE projects for editing and debugging...
  9. Visual Studio 2010 Keyboard Shortcuts — Earlier this week the Visual Studio team released updated VS 2010 Keyboard Shortcut Posters. These posters are print-ready documents (that now support standard paper sizes), and provide nice “cheat sheet” tables that can help you quickly lookup (and eventually memorize) common keystroke commands within Visual Studio...
  10. Search and Navigation Tips/Tricks with Visual Studio — Today’s blog post continues on from the Debugging Tips post I did last week, and covers some useful searching and navigation tips/tricks you can take advantage of within Visual Studio. These tips were ones that my friend Scott Cate (who has blogged dozens of great VS tips and tricks here) recently recommended to me as good tips that most developers using Visual Studio don’t seem to know about (even though most have been in the product for awhile)...
  11. Debugging Tips with Visual Studio 2010 — Today’s blog post covers some useful debugging tips that you can use with Visual Studio. My friend Scott Cate (who has blogged dozens of great VS tips and tricks here) recently highlighted these to me as good tips that most developers using Visual Studio don’t seem to know about (even though most have been in the product for awhile). Hopefully this post will help you discover them if you aren’t already taking advantage of them. They are all easy to learn, and can help save you a bunch of time...
  12. Visual Studio Tip => Run to cursor — Learn something new everyday. The Run To Cursor debugging feature in Visual Studio allows you to set a temporary breakpoint. This serves as a helpful tool in debugging...
  13. jQuery Code Snippets for Visual Studio 2010

Development/Miscellaneous

  1. Getters and Setters — “Best practices” always tell us to use getters and setters instead of exposing properties directly on a class. This is true for just about every language where it makes sense, but I want to look at two particular cases, Java and ActionScript...
  2. The ‘third way’ in creating engaging presentations? PptPlex brings canvas functionality to PowerPoint — PptPlex is another technology which has come out of Microsoft Office Labs and is an add on to PowerPoint. It gives a canvas style functionality which allows you to move around your slides in a non-linear fashion. Microsoft have produced a quick overview video which will help to get a flavour of what you can do with pptPlex...
  3. Updates: ProcDump v2.0, Process Monitor v2.92, and a new Mark's Blog Post
  4. Getting Started with NDepend 3 — I was fortunate enough to get my hands on a license for NDepend 3 so I decided to take it for a spin. I'd had some experience with NDepend 2 and thought it would be interesting to see the new, cool stuff.
    Install is still reasonably easy. It's still just a zip file - unzip, drop your license XML file in the folder along with the application, and you're up and running. That said, one of the things that's changed since I last wrote about NDepend is that my development environment is as a non-admin user on Windows Server 2008 R2 with the User Account Control turned on. In that scenario, it's not quite as simple as unzip and go if you want to put the application in the Program Files folder as is recommended. The steps I had to go through:...
  5. 12 Absolutely and Insanely Essential Utilities For Programmers — ReSharper or CodeRush, Fiddler and FireBug, Tortoise SVN, TimeSnapper, Instant VB, ExamDiff Pro, AutoHotKey, Clipx, Snip It Pro, Evernote, Mozy, Mikago, ...
  6. 40 Hour Work Week at Microsoft — One of the most important lessons at Microsoft was learning the value of a 40 hour work week. I’ve been on time, on budget for 10 years on projects ranging from grass-roots or “best efforts” to $ million+ investments. In my first few years, I was on time, on budget through heroic effort...



Дата публикации: 25.10.2010 20:12

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