-
|
ASP.NET Chart control is powerful control you can use to add charting support to your web applications. Although chart controls are mainly used with ASP.NET forms it is not very hard to use them also in ASP.NET MVC applications . In this posting I will show you how to use ASP.NET Chart control in ASP.NET MVC application and I will illustrate how to do it easily so you don’t mess up your views. Before we start coding I want to make some notes about my solution: this solution is pretty new and it is sure that one can improve the code provided here, using this solution I’m trying to generalize in-place reporting for MVC applications, also I’m trying to keep my views as clean as possible – chart definitions are not small if you have more complex...
|
-
|
To get the latest build of T4MVC: Go to download page on CodePlex MVC 2 Beta introduces two nice helpers called Html.RenderAction and Html.Action. Phil Haack described them in detail on his blog , so you may want to read through that before Read More......( read more ) Read More...
|
-
|
Wow, what a week of innovation for the Microsoft Web Platform. This week we released a ton of new software which, if you haven’t already, you’ve got to check out. Here is a quick overview: IIS Search Engine Optimization v1 final release Read More......( read more ) Read More...
|
-
|
Microsoft Canada’s Adam Gallant gave an excellent presentation today on ‘What’s New with Visual Studio Team System and MSDN’. Among Adam’s demonstrations were the new APIs to support so-called manycore architectures. Most of us are still writing code as if we only have one processor when it fact newer machines are likely to have four of them. The .NET Parallel Extensions supported in VS 2010 lead us into adopting these new technologies, which is fine. However, some of us at the session were wondering...( read more ) Read More...
|
-
|
I was really blown away by the new features in Silverlight 4 demoed at the PDC keynote yesterday. The list is too long to include here so go here instead. If we have all these features in Silverlight, then why even bother with WPF? This will be one less technology we will have to learn about. The VS 2010 editor should simply have been written in Silverlight :-) I am anxiously awaiting the release of the source codes for the demos. Read More...
|
-
|
More and more often I've been seeing C# code like this: var Data = GetData(); What on earth does GetData() return? This code is not as maintainable as it could be and is not as maintainable as it should be. Doesn't explicitly declaring the variable type make the code more readable, understandable and ultimately more maintainable? DataTable Data = GetData(); Ahhh, GetData() returns a DataTable. I know that var has uses but I wish it would have been named something much longer because typing 'var' is too easy. Perhaps it should have been named AutomaticTypeVar or even AutoVar to reduce the lazy misuse. Just my 2 cents. Steve Wellens Read More...
|
-
|
Just a decade and a half ago, the process of building a simple Windows-based application could have been described as a nightmare. The introduction of Visual Basic changed it so developers could for the first time implement Windows applications in an intuitive, graphical environment by dragging controls onto a form. The web revolution is here and now. Web had become very quickly the platform of choice for all kind of applications. The demand for web applications is ever growing and cloud computing...( read more ) Read More...
|
-
|
Until now we can use ASP.NET default output cache. We don’t have any option to write our own output cache mechanisms. ASP.NET 4.0 introduces extensible output cache – programmers can write their own output cache providers. In this posting I will show you how to write your own output cache provider and give you my sample solution to download. Preparing Before we begin with caching we need Visual Studio 2010 solution that has two projects – one web application and one class library. Class library is for output cache provider and web application is for testing purposes. My solution uses following names: Solution: CacheProviderDemo Web application: CacheProviderApp Class library: MyCacheProviders Before moving on let’s modify web application and...
|
-
|
Ya tenemos la beta de Silverlight 4. Son muchas las novedades que hay, de momento voy a listarlas junto a sus enlaces: Mejores herramientas API de impresión Manejo del evento del click derecho Acceso al micrófono y webcam Soporte nativo a la rueda del ratón RichTextArea Control Soporte ICommand API del portapapeles Control WebBrowser para mostrar HTML Aplicaciones con permisos elevados Acceso a ficheros locales Interacción COM Notificaciones de escritorio API (Estilo MSN...( read more ) Read More...
|
-
|
This is part of a series of postings asking for improvements to Visual Studio and ASP.NET. As a commercial web control developer, I have to include extensions to Visual Studio's design mode, such as UITypeEditors and TypeConverters. Both of these classes augment the Properties Editor for an individual property. Both can provide a dropdownlist or popup a window such as the CollectionEditor. Here the UITypeEditor DataTemplateNameEditor provides a dropdownlist of stored "Pattern Template" file names to the FieldsPatternTemplateName property. public class DynamicFormView : FormView { [Editor( typeof (DataTemplateNameEditor), typeof (System.Drawing.Design.UITypeEditor))] public virtual string FieldsPatternTemplateName { get { return...
|