Tag | .NET Posts

Being web application developer, over 10 years. I was involved in so many external and internal website development. I would be documenting all my web page performance improvements and tools I have used. Best Practices http://developer.yahoo.com/... - This are some of the best practices from Yahoo web team. They tool called Yslow which records real time performance and gives the grading for the sites. A to F. A and B being extremely good. Fiddler - IE plug in to view all the HTTP request. ...
You must have heard about it. Windows 8 will all about Metro. Sure, you can run ‘old-school’ applications on the platform, but most attention these days is about the new user interface. The UI is based on the design language Metro, a design philosophy we first saw in Windows Phone. Nowadays you see more and more of Metro. The Microsoft website is loosely based on it, the Zune mediaplayer uses it and so on. So it wasn’t a surprise to see that Windows 8 is all about Metro. In this screenshot you see ...
Today the Microsoft announced that the In-Place Upgrade feature had had some improvements. The major one would be, now the user could be able to change the VM Size by In-Place Upgrade, without redeploying the whole service. What We Did Before Before this improvement, since the VM Size was defined in the CSDEF file, we have to redeploy the service to change the VM Size property. This means we would remove the existing roles and VMs and then ask the Windows Azure to reallocate the new VMs with the ...
For (almost) all developers, there’s no greater feeling, then knowing your source code is (relatively) safe. The same counts for T-SQL script. Especially if you know that you need the same code next year (argh). So first thing I did after the initial release of scripts, was looking for a way to check-in T-SQL from SQL Server Management Studio (SSMS). So a colleague of mine, Dries (Blog | Twitter), dropped by with a solution: TFS MSSCCI Provider 2010 from the Visual Studio Gallery. It’s a free plugin ...
It was another engaging presentation at this month’s CITAG meeting as Joe Hummel presented functional programming and its implementation using F#. Some times it is fun to attack a mind bending problem and this was one of those times. Leaning about functional programming caused about the same brain cramps as moving from procedural to object oriented for the first time. Of course when you start to get it the effect is almost euphoric. I would suggest that if you haven’t looked into functional programming ...
At http://www.netmagazine.com/... there is a very interesting article on browser take-up rates. (And of course keep on eye on the IE6 Countdown site at http://www.ie6countdown.com - are you encouraging people to upgrade from IE6/7?) ...
Today's $10 Deal of the day book from APress at http://www.apress.com/97814... is Introducing .NET 4.0 With Visual Studio 2010 "You may know what's happening in C#, but what about the Azure cloud? How is that going to affect your work? What are the limitations of the pLINQ syntax? Introducing .NET 4.0: with Visual Studio 2010 guides you through the innovations that matter and helps you to seize new opportunities confidently and quickly. " ...
In this Issue: Michael Crump, Kevin Dockx, Ollie Riches, Shawn Wildermuth, Kunal Chowdhury, Beth Massi, Joost van Shaik, Colin Eberhardt, Tony Champion, David Catuhe, Igor, Jeremy Likness, and Dhananjay Kumar. Above the Fold: Silverlight: "SL5 PivotViewer Custom DetailPaneStyle" Tony Champion WP7: "Taking screenshots with Windows Phone 7 applications using a video feed" Joost van Schaik LightSwitch: "“I Command You!” - LightSwitch Screen Commands Tips & Tricks" Beth Massi Metro/WinRT/Windows8: ...
Been waiting to get some Apps in the Marketplace? Had that developer account sitting with no apps? Here is some motivation - are you ready to Mango? Your Apportunity to Win! 1 app = 1 entry to win a Samsung Series 7 Slate! For every Windows Phone Mango App you submit you'll be entered for a chance to win 1 of 5 Samsung Series 7 Slates. 5 apps = 1 entry to win Free advertising for 1 app of your choice! For every 5 apps you submit you’ll also be entered for a chance to win free advertising on the Windows ...
Everyone, Thursday, all day there is an MSDN webcast on building Windows Phone 7.5 apps. If you haven’t tried your hand at developing for the WP platform, I highly recommend watching this either live, or when they become available as individual streaming downloads. You may not own a Windows Phone, and that’s cool and all, but being a .NET developer puts you in a great spot to make applications or games that can reach millions. The great part is, if you don’t have a phone, YOU DON’T NEED ONE to write ...
Be sure to use this code when you submit: ...
One day in my office, every one was talking about change of job. I felt this is also another day as usual. People see others' achievements and try sail in the same path. Unusually my mind was keep hinting for the change. I thought this is one of the sign that I should make use of it and move on. This can make most of other dreams come true. But I was not new as I was like every other person there and the difference is every one thinking their own way of achieving their goals. People get triggers ...
Below you will find my entire collection of Windows 8 Development Articles. I will focusing on XAML / C# Metro Applications in Windows 8, but may occasionally post on HTML / JS. Please bookmark this page as I plan on keeping this page updated with my latest Windows 8 articles. Windows RT XAML/C# Metro Applications Enabling Frame Rate Counters for XAML Applications in Windows 8 *NEW* - Adding an Application Bar to your XAML Metro Applications. Windows RT HTML/JS Metro Applications Enabling Frame Rate ...
If you are planning to deploy your application with SQL CE as your application backend then here are the steps you need to perform. If you’re planning to deploy your application with SQL Server, than please read this post, How to Deploy an ASP.NET MVC 3 App to Web Hosting with "\bin Deployment" I assume that you have your ASP.NET MVC 3 application ready to be deployed with SQL CE 4.0 and EF 4.1. But make sure you have add assembly and for SQL CE 4.0 using NuGet. I recommend you to use NuGet here ...
In this Issue: Michael Washington, Ollie Riches, Jesse Liberty, Peter Torr, Jeremy Likness, Derik Whittaker, WindowsPhoneGeek, Morten Nielsen, Michael Crump, Asim Sajjad, Andrej Tozon, Dhananjay Kumar, Laurent Bugnion, and Avi Pilosof. Above the Fold: Silverlight: "Using Visual States to Set Focus on a Control" Jeremy Likness WP7: "Background Agents" Jesse Liberty Metro/WinRT/Windows8: "Adding an Application Bar to your XAML Metro Applications." Michael Crump Metro/WinRT/Windows8: "Using The Silverlight ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for October 10 - 16, 2011. Here are the top 5 news on SilverlightShow for last week: Free Silverlight Show Webinar: Introduction to XAML Development on Windows 8 Announcing WCF Data Services Oct 2011 CTP for .NET 4 and Silverlight 4 Five things you'll love about Windows Phone 7.5 Mango WP7.5 Mango: The Good, The Bad and the Ugly 5 ways to wring more revenue out of your mobile apps Visit and bookmark SilverlightShow. ...
UPDATE The below sample just showcases the locality sample. The complete set of attributes exposed which include PostalCode, CountryRegion, Address etc., are available at http://msdn.microsoft.com/e... This is the third in the series of posts I am doing on HTML5 for ASP.NET Developers Geolocation is one of the popular features of HTML5 that’s being touted as a favorite for building location aware applications. It helps to a great extent not just for Web Applications that run ...
This would be the first in the series of posts I plan to do for HTML5 for ASP.NET Developers The first thing that everyone would have experienced is the HTML5 header tag. The regular header tag that Visual Studio creates for ASP.NET Webforms is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml... This would be the header tag present in the Master Page or the actual ASPX Page when you don’t inherit from a Master Page. Till HTML5 specifications ...
HTML5 for ASP.NET Developers is my attempt to learn HTML5 myself being an ASP.NET Developer. I am planning to post a series of posts on how ASP.NET Developers can leverage some of the HTML5 features in their applications. To begin with, I plan to post a few samples on the following 1. Markup Enhancements that every ASP.NET Developer should know 2. Using HTML5 Geolocation API 3. Using HTML5 Local Storage in ASP.NET Applications 4. Making HTML5 Video work with IIS Express 5. HTML5 Boilerplate template ...
Today post will show you how to build an Ajax form with JQuery validate supporting (unobtrusive) client and server side validation using ASP.NET MVC 3. If you want to see an examples, you can visit this post about Ajax in ASP.NET MVC 3. To enable (unobtrusive) client side Ajax and validation support include the following JavaScript files (in Views/Shared/_Layout.cshtml): javascript" src="@Url.Content("~/Script... <script type="text/javascript" src="@Url.Content("~/Script... ...
We’ve all been inundated with images from the various Occupy Wallstreet demonstrations that have been occurring throughout the United States. Hordes of people frustrated with how their country’s financial systems have imploded due to corporate greed. I’m not American, so really I can’t comment on the situation – its an internal family issue that’s really none of my business. After all, Canada’s economy weathered the global recession very well and we avoided the disaster that befell other countries. ...
There is no one best branching strategy, the branching strategy that best fits the requirements of your enterprise is the best strategy for you. The ALM rangers have comprehensive guidelines to help you decide what might work best with your enterprise. A couple of parameters you need to consider while thinking about the branching strategy are, What is the length of the Iteration your team will be delivering in. Agile – Weeks, Waterfall – Months. Would you have multiple versions of the applications ...
ASP.NET view state, in a nutshell, is the technique used by an ASP.NET Web page to persist changes to the state of a Web Form across postbacks. View state has caused the most confusion among ASP.NET developers. When creating custom server controls or doing more advanced page techniques, not having a solid grasp of what view state is and how it works can come back to bite you. Web designers who are focused on creating low-bandwidth, streamlined pages oftentimes find themselves frustrated with view ...
Hace algún tiempo me consultaban como comunicar un dispositivo móvil con un servicio WCF[Windows Communication Foundation] , sin embargo me escribieron indicándome que habían seguido los pasos de algunos post pero no tenían éxito al generar el proxy que permite al dispositivo comunicarse con el servicio WCF. Trate de revisar el caso ya que aparentemente revisando los pasos todo estaba correcto y efectivamente no se generaba el proxy y devuelve un error de : C:\Program Files\Microsoft.NET\SDK\Com... ...
Sorry for the tardiness of this post, but I was out of state on family business. If you are looking for Silverlight Developers, I am in contact with developers looking for work, so I can make the introductions for you. In this All-Submittal Issue: Oscar Agreda, Michael Washington(-2-), Gill Cleeren(-2-), goldytech, Michael Crump, Ollie Riches, Colin Eberhardt, and David Catuhe. Above the Fold: Silverlight: "Silverlight Toolkit (September 2011) for Silverlight 5–What’s new?" David Catuhe WP7: "How ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for October 03 - 09, 2011. Here are the top 5 news on SilverlightShow for last week: Silverlight Toolkit (September 2011) for Silverlight 5–What’s new? Installing Mango on Samsung Omnia 7 Get Ready for the Windows Phone 7 Exam 70-599 With Our Brand New Ebook! [Silverlight 5] Getting started with PivotViewer “Active” Federation with Silverlight, WCF, and WIF Visit and bookmark SilverlightShow. Stay in the 'Light ...
On 13rd Oct, I had had a presentation on TechED 2011 Beijing. It was about how to build a multi-tenant application on top of Windows Azure platform. Thanks to the people attended my session, and special thanks to my friend Wang Tao, Robin Lo, Jason Lee, etc. I had uploaded the PPT and demo here please feel free to download (The PPT was in Chinese). Hope my session helps, and looking forward to see you all in TechED 2012. Shaun All documents and related graphics, codes are provided "AS IS" without ...
With TechEd Africa starting in two days time I thought I would briefly blog about two useful extensions I use for VS2010 when presenting. They are Presentation Zoom by Chris Granger ZoomEditorMargin by Benjamin Gopp The Presentation Zoom extension creates a global zoom level so that if you zoom a single window, all editor instances will be updated to that zoom level. Before I had this extension I had a few circumstances where I was not aware of the resolution restrictions of the projector until 5 ...
Yesterday, I just posted about How to Fix error: 26 - Error Locating Server/Instance Specified Well, this is an error message that we can find too "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 28 - Server doesn't support requested protocol)" I struggle to find what is the problem. ...
I've made a list of programming books I've read, am reading and am going to read on the Bookshelved Wiki; would anyone care to recommend good books for a web-oriented, C# Agile programmer which I've not discovered or not considered?I've reproduced the list so far below for convenience :)Programming books on my 'to read' list Real World Functional Programming by Tomas PetricekCode Complete by Steve McConnellWorking Effectively With Legacy Code by Michael FeathersProgramming books being read at the ...
Blue Syntax is pleased, and very excited, to announce the general availability of Enzo Backup for SQL Azure. It took a monumental effort to put this product together. The hardest part was designing the backup and restore routines in a way that would not constently trigger the throttling safegaurds in SQL Azure. In addition to the typical retry logic, adaptive loading algorithms that know how to "slow down" the data read/load based on specific error conditions was also incorporated, while keeping ...
Introduction I recently found out that I have been awarded with the Q3 Community Champion Award from INETA. It is a honor and a privilege to be part of this Elite group of community leaders. I cannot tell you how excited that I am to be acknowledged by my peers for the community work that I do. Below is what the email said: I would like to congratulate you on winning the INETA Champion Award for the third quarter of 2011. I want to personally thank you for your time and effort in supporting and helping ...
In my particular case the problem was due to Silverlight. I have my ASP.NET MVC application which is incorporating a Silverlight application into it. When integrating the Silverlight application VS will ask you if you want to allow for debugging your Silverlight application. Selecting yes will enable the Silverlight debugger in your web applications project settings (see below): To allow JavaScript debugging again simply uncheck the Silverlight checkbox and start your application ...
I'm a big fan of automated testing which actually proves something. Unit tests may prove all the components in a solution work independently, but that doesn't mean you have a working solution. Integration tests give you confidence in the whole solution, but the cost of having a test suite with a lot of external dependencies is the risk of false build failures and long-running test suites. To get something in between, we have acceptance tests written in SpecFlow which run tests at the highest layer ...
Hi Everyone, This is a place for .NET lovers like us can go and learn more about all Microsoft Cloud technologies. This website makes it more easy, simple and actually fun to know what the technologies are, how they work and what we can do for it in the perception of both business and personal entities. Here is what you have to do (to make it much easier, follow the steps) 1. Go to http://www.microsoftvirtual... this website 2. Login with your Windows Live ID (Create one if you ...
Hi Everyone, The only and main purpose of this blog is to educate all .NET pre-Beginners, who love to do .NET Programming but don't know where, what and how to do. Now you have a place to share and ask for that little thing that is holding you to move on your development. I was in your place 2 years ago, dont know anything about it, doesnt know where to start. I did googled(Bing'd) a lot, found so may articles, blogs about .NET and got very excited about it. Now I wanted to get all that information ...
I recently began feeling like it was time for a change. I have been programming in C# for about a year and so I felt the urge to learn something new. So I went to the library and checked out a book on Ruby programming. I chose Programming Ruby 1.9 written by Dave Thomas and part of The Pragmatic Programmers series. I figured I might as well document my journey into the new world of Ruby on my blog. I’ve gotten through about six chapters and I really like what I see from Ruby. It’s really fun to learn ...
Soon, the latest ASP.NET MVC will be launched. I cant wait to try as whole. This is the preview of this new product- Web Platform Installer – Installs the MVC4 Project Templates.- Nuget package – perfect for upgrading an existing MVC3 project- Stand Alone Installer- Installs the MVC4 Project Templates. This is the cool design with new features In addition to CSS design there is improved functionality in the new template. The template support technique called adaptive rendering to support theme on ...
In the last few weeks I have had the pleasure of familiarising myself with various async patterns in C#. After going through the different approaches one gets a feel for how far we have come since the .Net 1 days. One particular pattern that I was not familiar with implementing but which has been available since the beginning of .Net is what I call the Async Begin / End Pattern. Since my interest is really making calls asynchronously so that I don’t block the UI thread - from what I can tell this ...
Ok, I think this is the coolest contest I have seen. Red-Gate is sending a DBA to Space! If you have mad SQL skills, you should definitely look into this contest. More Information: Red Gate, a U.K.-based software company, has launched a campaign that will reward a database administrator (DBA) with the ultimate getaway: a seat on a commercial flight into space, courtesy of Space Adventures, Ltd But first, DBAs must unravel a Gordian knot of a plot involving morphing Martians, pets in peril, alien ...
Introduction We are all familiar with the Application Bars in Windows Phone 7… It can be achieved with a few lines of code as shown below: <phone:PhoneApplicationP... <shell:ApplicationBar> <shell:ApplicationBarIco... IconUri="/icons/download.png" IsEnabled="True" /> <shell:ApplicationBarIco... IconUri="/icons/settings.png" IsEnabled="True" /> <shell:ApplicationBar.Me... <shell:ApplicationBarMen... x:Name="mnuReturnToHome" Text="return ...
I’ve just published the official release version of “The Developer’s Guide to AppFabric”. After receiving some great feedback from people I’ve corrected some errors and typos. There’s no new content since the CTP, but I’m busy working on that and there will be a lot more coverage of brokered messaging in the November release. If you want notification of new releases, follow me on Twitter @alansmith. You can download the October 2011 release here ...
I am here to take your attention on size of .Net object when we call a service. This will help when you want to find out the size of .net object in a service call. This might happen when you face a buffer overrun problem. While trying to debug a service call, where we suspect a buffer overrun situation, we wanted to find out the size of object being returned by a service call. However finding size of .net object is not trivial and if you thought that you can do it with sizeof(object), and then you ...
KnockoutJS is an awesome MVVM JavaScript data binding framework for building rich user experiences. As sites get more interactive and more presentation logic gets pushed to the client-side, it’s important to have rich frameworks which enable these scenarios. The next version of MVC is going to include the Knockout NuGet package in the box. Now is a perfect time to start learning Knockout. As I’ve been learning Knockout, I’ve been pleased to discover that, although it comes with a rich set of features ...
Hello Everyone, I thought I’d take a minute to update everyone on my upcoming talks and events that I will be attending. I have talks ranging from Kinect, Silverlight, HTML5 to OData! Wow, that’s a wide range of technology and I’m very passionate about everyone of them. Let’s get started. DevReach - October 17th through the 18th in Sofia, Bulgaria. I will not be speaking at this event only attending. I am very excited because this will be my first time visiting Bulgaria. I am looking forward to meeting ...
As the song says “War! What is it good for?”. Well, maybe not absolutely nothing, but it is definitely a distraction. Whether we are talking about Apple vs. Microsoft, C++ vs. Java vs. .NET, Lotus Notes vs. Microsoft Exchange, Nikon vs. Canon, Cubs vs. White Sox or Bears vs. Packers our world is filled with fan boys ready to go to battle. Just cheering for your favorite isn’t a problem. It is when you have a driving need to put the other guy down and prove that you are behind the winner. Let’s take ...
OOook, those who know me, or have read my blog probably have a pretty good idea that I’m a silverlight, wpf, wcf, c#, xamly kinda guy. I’ve never really done anything webby, the closest I’ve gotten is doing a bit of backend stuff, well, times change, and quite frankly I wanted to do something new… soooo I’ve opted to go down the MVC route, for two main reasons – 1, I figured I may as well learn a good framework, 2, Matt Abbott told me that MVC lets you get dirty with HTML, and that’s one of the things ...
Issue: .Net rounding does not work as you would expect. -2.5 rounds to -2 and not -3. What?! Yes! By default .Net uses MidpointRounding.ToEven which will round it to -2. BUT if you round off -3.5 it works as you would expect to -4. If you round off -6.5 you think it would also round off to -7, but you would be wrong, -6! What about 2.5, the default rounds off the 2 and not 3 as you would expect. So what is going on? You can read more about it at http://msdn.microsoft.com/e... ...
Goal: Find the business days; i.e. exclude weekends How to: Here is some code to get the first business day after or before the weekend. It is surprisingly simple but thought the code may help save folks some time. Just a note that there is no built-in .Net feature to give you public US or other holiday calendar dates, you need to build your own using a table to keep track of public holidays in most situations. Simple enough to do, extend the methods below to query a database or xml or JSON, etc, ...
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 false false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; ...