March 2010 - Posts
This is the sixteenth in a series of blog posts I’m doing on the upcoming VS 2010 and .NET 4 release. Today’s post is the first of a few blog posts I’ll be doing that talk about some of the important changes we’ve made to make Web Forms in ASP.NET 4 generate clean, standards-compliant, CSS-friendly markup. Today I’ll cover the work we are doing to provide better control over the “ID” attributes rendered by server controls to the client. [ In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu ] Clean, Standards-Based, CSS-Friendly Markup One of the common complaints developers have often had with ASP.NET Web Forms is that when using server controls they don’t have the...
Dusan published this interesting post a couple of weeks ago about a novel JavaScript chaining pattern: http://dbj.org/dbj/?p=514 It’s similar to many existing patterns, but the syntax is extraordinarily terse and it provides a new form of friction-free, plugin-less extensibility mechanism. Here’s a JavaScript example from Dusan’s post: CallStream( "#container" ) (find, "div" ) (attr, "A" , 1) (css, "color" , "#fff" ) (logger); The interesting thing here is that the functions that are being passed as the first argument are arbitrary, they don’t need to be declared as plug-ins. Compare that with a rough jQuery equivalent that could look something like this: $.fn.logger = function () { /* ... *...
We’re looking for someone who is passionate about web technologies and the developer experience. If you’ve been an avid Visual Studio developer building great web applications and longed for an even more compelling experience in Visual Studio, Now is your chance. Visual Studio already offers the one of the most comprehensive authoring experiences for the web today supporting web standards like HTML, CSS and JavaScript and server technologies such as ASP.Net, MVC, SQL Server and IIS. We’re looking for someone with the passion and energy to help us raise the bar even further in our next generation of tooling for the web. You can learn more and apply for this position at: Program Manager II - Web Development Tools If you’re curious...
Minor update for the Spell checker add-in for VS 2008 SP1. It is now available at Visual Studio Gallery . Direct link: http://visualstudiogallery.msdn.microsoft.com/en-us/2f3d691d-8838-4d84-ad64-44a02db37e30 What's new in version 2.3: Updated native code loading mechanism to improve robustness Fixed bug when applying suggestion would also delete punctuation immediately following the word. You can find extended information on the add-in and possible customization in earlier post . For VS 2010 version look here . Thanks Mikhail Arkhipov Read More...
ASP.NET/HTML Spell Checker 2.3 for Visual Studio 2010 has been posted on Visual Studio Gallery (also accessible from Visual Studio Start page in 'Extending Visual Studio' section). Direct link: http://visualstudiogallery.msdn.microsoft.com/en-us/0db4814c-255e-4cc6-a2c2-a428de7f8949 What's new in version 2.3: VS 2010 version installs from gallery as Visual Studio Extension package (VSIX) In VS 2010 suggestion list is invoked via right button click (instead of double click as in earlier versions). Fixed bug: Fixing misspelled word it may also remove punctuation that immedialy follows it. For additional information please refer to readme.htm included in the download - you can find it in the extension directory, typically C:\Users\USER_NAME...
Continuing in our series , I wanted to touch on how a RIA Services can be exposed as a Soap\WSDL service. This is very useful if you want to enable the exact same business logic\data access logic is available to clients other than Silverlight. For example to a WinForms application or WPF or even a console application. SOAP is a particularly good model for interop with the Java\JEE world as well. First you need to add a reference to Microsoft.ServiceModel.DomainSerivves.Hosting.EndPoints assembly from the RIA Services toolkit. Then you need to edit the endpoints section of the domainserivces config in web.config file. Below I am showing the SOAP and OData endpoints enabled. < system.serviceModel > < domainServices > < endpoints...
NoSQL as a movement is an interesting beast. I kinda like that it’s negatively defined (I happen to belong myself to at least one other such a-community). It’s not in its roots about proposing one specific new silver bullet to kill an old problem. it’s about challenging the consensus. Actually, blindly and systematically replacing relational databases with object databases would just replace one set of issues with another. No, the point is to recognize that relational databases are not a universal answer -although they have been used as one for so long- and recognize instead that there’s a whole spectrum of data storage solutions out there. Why is it so hard to recognize, by the way? You are already using some of those other data storage solutions...
In this series, I will be taking sample applications from the iPhone SDK and implementing them on Windows Phone 7 Series. My goal is to do as much of an “apples-to-apples” comparison as I can. This series will be written to not only compare and contrast how easy or difficult it is to complete tasks on either platform, how many lines of code, etc., but I’d also like it to be a way for iPhone developers to either get started on Windows Phone 7 Series development, or for developers in general to learn the platform. Here’s my methodology: Run the iPhone SDK app in the iPhone Simulator to get a feel for what it does and how it works, without looking at the implementation Implement the equivalent functionality on Windows Phone 7 Series using Silverlight...
To continue our series , In real business applications our data is often very valuable and as such we need to know who is accessing what data and control certain data access to only users with privilege. Luckily this is very easy to do with RIA Services. For example, say we want to let only authenticated users access our data in this example. That is as easy to accomplish as adding an attribute, see line 2 below. 1: [EnableClientAccess] 2: [RequiresAuthentication] 3: public class DishViewDomainService : LinqToEntitiesDomainService<DishViewEntities> 4: { 5: When we run the application, we now get an error. Clearly you can do a bit better from a user experience angle… but the message...
My FluentPath library is now available on CodePlex. I’ve also modified the code so that it can now be compiled against .NET 3.5SP1 and not just .NET 4.0. http://fluentpath.codeplex.com/ Read More...
More Posts
Next page »