|
Browse by Tags
All Tags » ASP.NET
Showing page 1 of 3 (104 total posts)
-
Thanks to Node and Javascript Frameworks; the frontend development landscape has changed a lot and things are in continuous flux. For .NET developers; adapting to this might be hard to digest because we have been “addicted” to use one single thing that we were used to dictate; but if you have been Linux / Open Source enthusiast; this trend is very ...
-
Data Validation Series Data Validation–SilverlightData Validation-MVCData Validation-Web FormsData Validation-KnockoutData Validation-Vue.js In the previous post we have learned about how we can do validation on the client side on the client model or view model and also on the server using System.ComponentModel.DataAnnotations based attribute ...
-
Angular JS is the famous Javascript library for Single Page Applications from Google. Now the v1.x version is called Angular JS and the v2 onwards are called Angular or Angular 2/2+. It is also the frontend part of the “MEAN” stack; where MongoDB is used as data store, Node as the server plus toolchain, Express JS as the web framework and Angular ...
-
Data Validation Series Data Validation–Silverlight Data Validation-MVC Data Validation-Web Forms Data Validation-Knockout Data Validation-Vue.js In the previous posts we learned about how we can do client side validation using jQuery.Validation against a server side .NET model having System.ComponentModel.DataAnnotations ...
-
Data Validation Series Data Validation–SilverlightData Validation-MVCData Validation-Web FormsData Validation-KnockoutData Validation-Vue.js In the previous posts we learned about how we can do client side validation using System.ComponentModel.DataAnnotations based attributes on the server side .NET classes. These techniques emerged in ASP.NET ...
-
ASP.NET once came with Membership and Role Providers, that we used and abused in past, then came Simple Membership Provider with Razor and Webmatrix that exposed a simpler API but still used the same providers behind the scene. Finally with Visual Studio 2013 and ASP.NET 4.5.1 they introduced ASP.NET Identity that offers a modern replacement of ...
-
Dotnet Core Series
Dotnet Core
Redis Clients -- ASP.NET Core
Docker Registry
Jenkins
This Post
Given, Dotnet Core can run on Linux; and in the series we have been exploring different aspects of having a Microservice based Containerized Dotnet Core application running on a Linux in Docker Containers. SQL ...
-
Redis Series
Redis
Redis Clients
This Post
Dotnet Core Series
Dotnet Core
This Post
Docker Registry
...
-
Redis Series
Redis
This Post
Redis Clients -- ASP.NET Core
For the Redis clients; imagine we have an e-commerce platform having a Python based component that does some analysis to show which product or campaign / deal to show on the main page; these results are posted / updated into the Redis Server from where the Asp.Net ...
-
Dotnet Core Series
This Post
Redis Clients -- ASP.NET Core
Docker Registry
Jenkins
Dotnet Core -- PostgreSQL
This post is a quick lap around Dotnet Core; especially on Linux and Containers. Dotnet Core is an open source .NET implementation and is also available for different flavors of Linux. We know how ...
-
In my opinion, finding the sweet balance between the two extremes; fully compiled web app (well produced music record) and javascript based dynamic web apps (live performance); is the right way to go!
A while ago; we were asked to add new features into an existing Web Forms app; we decided its time to explore things outside of the comfort ...
-
In our MVC4 sprint; we used ASP.NET bundling for CSS / JS resources and migrated all the Ajax.BeginForm / Ajax.EndForm based forms that were developed in MVC2 days to the current techniques
In our MVC3 sprint; we removed MicrosoftMvcValidation.js and MicrosoftMvcJQueryValidation.js files from MVC2 days and instead referenced ...
-
Data Validation Series Data Validation–SilverlightData Validation-MVCData Validation-Web FormsData Validation-KnockoutData Validation-Vue.jsWe needed to introduce few new Validation in an old Silverlight app and at the same time; we planned to migrate the app from Silverlight to HTML/JS/CSS so people on mobile devices can also use that app. For ...
-
Recently received a change request for a solution that has not touched for a while, it was ASP.NET MVC3 deliverable and Visual Studio 2013 gave warning that it will has limited functionality. The project was started as original MVC in Visual Studio 2008 and was later updated to MVC2 in Visual Studio 2010. The project was later updated to MVC3 in ...
-
A while ago I posted about Ajax enabled WCF Service :: Round tripping; in which I didn’t show how to post from Javascript / Client to WCF that expects an entity for scenarios like new record. This is needed when there's already Ajax Enabled WCF is in place, you are migrating from Silverlight or similar technology to modern Web etc. Today ...
-
After signing off from that little endeavor, I decided to try DataTables with Dotnetnuke. Service Framework was introduced in Dotnetnuke (DNN) v6.2, it was MVC based thing, but later in v7 they have changed it and now it uses ASP.NET WebApi framework
In the previous post we covered how to write WebApi for DataTables; now to use that ...
-
In the previous post, we couldn’t handle DataTables’ Paging, Sorting and Searching at the Server Side due to PageMethods limitations. There might be some work-around, but we had another requirement that we had to implement our thing in ASCX (User Control) and not in ASPX page and unfortunately PageMethods don’t work in ASCXes; but fortunately ...
-
Javascript apps are fancy gardens of glass, attractive but fragile. I personally don’t like it, but it’s hip these days! A friend asked if we can incorporate “DataTables” a popular jQuery plugin into an existing ASP.NET application, and I availed an opportunity to get my hands a bit dirty!
If you haven't started using NUGET; you should, using it ...
-
From the last post; we have realized that for a typical CRUD / Round tripping implementation; we need “something” that can do JSON to DOM and DOM to JSON conversion so that we can send and receive JSON data over the wire using the jQuery!
There might be many such libraries; but if you have ASP.NET / Silverlight background; you will definitely ...
-
Once you know how to configure the WCF services; they are great! There is built-in AJAX-enabled WCF Service template that one can use to create a server side peace of the modern AJAX base web app. The more recent option is Web-Api; but it requires that you can make changes in the RouteTable and when you cant; AJAX-enabled WCF Service can be ...
-
Ajax Control Toolkit (ACT) is commonly used control library among ASP.NET Webforms projects; much more used than Telerik! Dotnetnuke (DNN) 6.x were awesome releases given they finally replaced VB.NET with C# but sadly they started using Telerik Web UI controls. The Dotnetnuke 6.x is now a maintenance only branch and they never released true .NET4 ...
-
HttpStatusCodeResult was added in MVC3; its instance can be returned as ActionResult from within Controller. This is useful when we are using AJAX to call the controller action from the client side. Most Javascript libraries like jQuery has support for HTTP Status codes; with such approach in place; one can write neat client code! $.ajax({
...
-
I just voted for Multiple web.config Transforms for ASP.NET. What do you think? I just voted for Silverlight on XBOX 360 for Silverlight. What do you think?
-
Visual Studio 2010 Beta 2 is recently made generally available to try and it has ASP.NET MVC2 Preview 2 out of box. In ASP.NET MVC2; there is a breaking change from ASP.NET MVC 1. The ASP.NET MVC’ built in JSON support will only serve for POST request and discards GET requests due to JSON Vulnerability. Michael Campbell has written a detailed ...
-
I started using IE again after IE7 mainly because of its speed and the fact that it has copied all the nice features (Tabs) of Firefox <smile />
IE8 has got some nice developers features (JavaScript debugger with Breakpoints, Native Json support, CSS3 selector to name few) and this video from MSDN Channel 9 is must watch to learn about ...
-
Silverlight Tools for Visual Studio installs the Silverlight SDK; the Silverlight 2 SDK featured System.Web.Silverlight assembly that had Silverlight ASP.NET control through which you can host your Silverlight application. The Silverlight 3 SDK doesnt has this assembly…If you have used this control and upgrading to latest tool…before uninstalling ...
-
ASP.NET provides wide spectrum; you can develop reusable interface components using User Controls, Server Controls and Web Parts (WebForms world). There are three ways to develop ASP.NET Server Controls.
Render Contents
You can override RenderContents and using the writer can flush out the HTML text you want. Its more or less the same Classic ...
-
Here is my attempt to transform Google Search Results into a RSS feed. This functionality is missing from Google. Test it out and provide some feedback. I have published the feed as a web service at
http://www.ecubicle.net/gsearch_rss.asmx
There is a single function called GetSearchResults with the following signature
GetSearchResults(byval ...
-
Extension methods allow developers to add functionality to the existing .NET types without recompiling the source, or extending (deriving from the type) the type. For certain types, such as String, these cannot be extended because they are declared as Notinheritable (Sealed). For such scenarios, create an extension method to add custom ...
-
I have published some tutorials on YouTube on LINQ and ADO .NET Data Services. ADO .NET Data Services allow creation of REST based services which is simply a fancy way of serializing data as XML and returning it over HTTP. You can view these tutorials on my YouTube Channel at
http://ca.youtube.com/rafaybinali
-
The important part is to retrieve the KML file (XML based standard) from Google Maps (refer to urlString). Once we have the KML file, we create an XMLDataSource control, retrieve the XmlDocument's InnerXml. After that, we parse the elements to retrieve the directions which are placed in the <name> element ...
-
Also, have a look at the youtube downloader web service that I have recently published. As you are probably aware, YouTube Google GData API allows replication of the entire YouTube functionality from within your application. However, the only piece missing from this API is the ability to download videos - which is understandable.
By using my web ...
-
I have finished creating a complete YouTube clone in .NET. The most complex part of the whole project was to find out how to convert media into FLV after upload. This research took the better part of my project time. Nonetheless, it is complete in terms of functionality, though UI needs some major rework.
Anyhow, what you need is FFMPEG.exe. It ...
-
Here is an interesting web service that allows applications to download youtube videos. Applications that require interaction with youtube can obviously use the YouTube API's to provide exhaustive youtube functionality right from their web sites. However, the only API function that is missed is the ability to download from Youtube.The Youtube web ...
-
As Nasir has pointed out that Microsoft has unveiled more information about upcoming .NET Framework! I believe unlike .NET v3 and .NET v3.5 which were architecturally ''addon'' releases above .NET v2.... .NET v4 might be side by side release, and if it is...then i think this is great opportunity for Microsoft to simplify things a bit....
Few days ...
-
Download Visual Studio 2005 Service Pack 1, its a big download and takes some time to install...but when you are done with it, you will be seeing an option ''Web Application Project'' in ''New Project'' dialog. This new option provides same feature as ASP.NET 1.1 projects in Visual Studio 2003. Furthermore after Service Pack 1, you should be able ...
-
View this 16megs video from Dan Wahlin; in which he shows how easy things are with LinqDataSource! You get a filter; master/detail form and full editing/deletion/insertion; with almost no line of code!
I personally dont like such declarative style programming; because the code generated with such approaches is not maintainable; however these ...
-
In many web applications, almost half of the code in “UI layer” is about dealing query strings, forms and other such thing trying to pass data between one pages to another. With new MultiView control in ASP.NET 2 and using user controls (optionally) you can avoid that whole junk.If you can interpret the whole UI in a single ASCX/ASPX you don’t ...
-
ASP.NET 2 AJAX Extensions1.0 (code name Atlas) has recently been released. Go get it from http://ajax.asp.net It’s a must have extension for web application developers.
ASP.NET AJAX has two major components, new ASP.NET server side controls and a client side JavaScript library. Even if you are not using ASP.NET, you can still use client ...
-
ASP.NET v2’s SqlDataSource is great; but for small apps or while doing prototyping / inception. It starts creating problem in later stages of mid to big level projects. In such cases; we might want that with each release; all SqlDataSources being used are documented so that you can track which database objects are being used. Its a tedious ...
-
This is for a friend, showing how easy it is to use JavaScript in ASP.NET apps. Note how the inline code is used to get the element id. To make it more runtime error prone; simply create a method in code-beside file and use that…
<script language=''javascript'' ...
-
Web Service
http://weblogs.asp.net/dwahlin/archive/2006/09/20/Calling-Web-Services-with-MS-AJAX-using-Code-Vs.-Declaratively.aspx
http://weblogs.asp.net/wallym/archive/2006/08/31/Prioritizing-web-service-calls-in-Atlas.aspx
Client Side ...
-
Data binding features of ASP.NET is awesome; the only pitfall with this technique is that most of the code tends to be “declarative” and you loose compile time checks which increases chances of error in maintenance. However using ObjectDataSource you can resolve some of the “page maintenance” issues resolved but it increases the code ...
-
This took considerable time to fix!
Gotcha: If a page hides and unhidesDetailsView/FormView controls, it may produce a bogus “Failed to load viewstate…” error message Fix: Set “EnableViewState” property to False for each of the DetailsView/FormView controls
Even if you wrap the FormView in some Panel and tries to set its visibility; same ...
-
As time to market is becoming important factor; we the developers usually get very low time to make things the right way. We have to rely on frameworks, runtimes and libraries to do the heavy lifting. While designing the app in such scenarios you have to do certain trade offs; at the end of the day; you usually ends up with a code that you don’t ...
-
If you are using ASP.NET v2; and you are medium to advanced developer; you must read ASP.NET 2.0 MVP Hacks and Tips. I have just read its three chapters and have already learned many cool things. I will try to post'em as well.
-
LINQ gets cooler when it can be used in web apps…
Microsoft has just released RC1 of Web Application Projects (WAP); and with this; one can now use (*)LINQ in web projects. Here are the steps.
Install WAP
Download the LINQ Preview; and install it in its default location.
Download this Project Template I have created using the steps given ...
-
Last few days had been of full of fun!
We are having a refactoring week in our current project; in which we want to improve the overall code base before moving forward. One of the activities was to straighten out the projects in the solutions. We have two web applications as part of the current project; which are VS2005 based. (ASP.NET v2; lots ...
-
With Data Source Controls in ASP.NET v2; things are turning into declarative programming style; more code is being pushed to UI (ASPX/ASCX) and with that; runtime errors increases; especially in maintenance phase of the software. If you want to learn how object data source controls can help you develop web apps rapidly; read Nasir's Introduction ...
-
Today I updated few internal Sharepoint based applications to ASP.NET v2. Before using ASP.NET v2 with Sharepoint; you need to install Service Pack 2 of Windows Sharepoint Services (WSS). I was using SmartPart to use ASCX based user controls in Sharepoint. You need to use “Son of SmartPart” if you are using ASP.NET v2. It took considerable time to ...
1
|
|
|