Tag | ASP.NET Posts

Today at VSLive! we announced Visual Studio LightSwitch (link not quite up yet). LightSwitch is intended to be the simplest way to build business applications for the desktop and cloud. It provides the tools to rapidly develop professional applications from pre-built templates in a simplified development experience. It is intended to be used by professional developers. Top level features: Applications are built in Silverlight Pre-built templates Support for SQL Server, Sharepoint and SQL Azure Applications ...
Few months ago I wrote a sample demo on how to Add Dynamic Rows in GridView with TextBoxes and how to Add Dynamic Rows in GridView with DropDownLists. I have had a few comments and emails asking how to do the same with a combination of TextBox and DropDownList. In this post, I'm going to show you the way on how to this. Here are the code blocks below: ASPX: <asp:gridview ID="Gridview1" runat="server" ShowFooter="true" AutoGenerateColumns="false"... <Columns> <asp:BoundField DataField="RowNumber" ...
So I'm on this private email group and a discussion starts by someone pointing out this blog post which talks about the Microsoft.Data.dll and the Microsoft.Data namespace. From the blog post: It’s an awesome new assembly/namespace that contains everything you’ll ever need to access a database. In ASP.NET WebPages we wanted people to be able to access the database without having to write too many lines of code. ... The user doesn’t have to learn about connection strings or how to create a command ...
I am writing this post in response to David Burela’s ‘What is your preferred technology stack?’ meme. As an independent developer I generally have a lot of flexibility to chose the tools that I think will deliver the best result, with the restriction that my customer is generally looking for a .NET based solution. I favour tools which: are open source. Open source libraries are often designed to facilitate quality practices, not to sell tools. Also, access to the source and the price are bonuses. ...
If you are following Scott Gu’s Blog or simply the ASP.NET Community, you would have definitely heard about WebMatrix and the Razor view engine. More specifically you must have heard of something known as “ASP.NET WebPages” The ASP.NET WebPages, Razor Engine as well as WebMatrix can definitely be confusing for many who have been into ASP.NET Development for sometime now. Clearly, this is not for you, if you are hard core ASP.NET Web Developer and are happy with either Webforms or MVC based development. ...
WebMatrix is back – sort of. There used to be Web Matrix in the early days of ASP.NET. Now, it’s back again, and it’s ready with some of the upcoming preview capabilities coming out – such as a view engine called Razor. ASP.NET MVC 3 Preview 1 http://www.microsoft.com/do... WebMatrix http://www.microsoft.com/we... Razor http://weblogs.asp.net/scot... ...
Quick Link: download ASP.NET MVC Preview 1 It is a an exciting time to be a web developer. There are lots of new technologies from Microsoft coming out for the browser (IE9 changes everything), in the area of tooling (the brand new WebMatrix) and for the server – with ASP.NET MVC 3 Preview 1 released today (27th July 2010). Download and install side by side with MVC 2 If you have Visual Studio 2010 (The FREE Web Developer edition is fine) then you can safely download ASP.NET MVC Preview 1 (download ...

Tha Ajax Control Toolkit includes 40 Web Forms controls and extenders.
To view documentation and tutorials for each of the controls go to the link:
http://www.asp.net/ajaxlibrary/act_tutorials.ashx

Security Basics and ASP.NET Support; An Overview of Forms Authentication; Forms Authentication Configuration and Advanced Topics; Creating the Membership Schema in SQL ServerCreating User Accounts; Validating User Credentials Against the Membership Store; User-Based Authorization; Storing Additional User Information; Creating and Managing Roles; Assigning Roles to Users; Role-Based Authorization; Building an Interface to Select One User Account from Many Recovering and Changing Passwords; Unlocking ...
Cuando se trabaja con ficheros en asp.net, especialmente para aquellos que en alguna ocasión han tenido que luchar con los gestores documentales, una actividad necesaria es la posibilidad de poder comprimir una carpeta junto con todo su contenido para poder enviarla al navegador del usaurio para que la descargue. Pues, nuevamente, nuestro objetivo será crear una clase sencilla utilizan la libreria ICSHARPCODE que pueden descargarse de Libreria, y que utilizar para comprimir facilmente. Ahora sí, ...
Time for me to evaluate the progress on the original goals of our project. In januari, I started on a new project and set myself/the project a few goals. These goals were explicitly written down in a previous post. We've now finished phase 1 of the project, and I took the time to see what's left of my new year's resolutions.What's the point?I believe that you can only improve and learn new things when you deliberately set yourself explicit goals. Publishing these goals for all to see has been a major ...
In this Issue: Paul Sheriff, jbaird, Michael Washington, Shawn Wildermuth, Ben Gracewood, Mohamed Mosallem, Jesse Liberty, Nigel Sampson, Kunal Chowdhury, Vikram Pendse, and Frank LaVigne. Shoutout: I don't know who these Commentsys devs are but they've got a boatload of Silverlight and WP7 tutorials From SilverlightCream.com: Use CollectionViewSource in Silverlight to Sort Data Paul Sheriff has two posts on using the CollectionViewSource to sort your data. This first one is in XAML and the second ...
Siguiendo con el proceso de implementar una solución simple en Azure, vamos a crear una aplicación Web basada en ASP.NET, vamos a empacar esa solución y luego llevarla a Azure para luego entrar y utilizarla. En esta demostración veremos como: 1. Creando la aplicación Your browser cannot play this video. Learn how to fix this. 2. Compilar y generar la solución Your browser cannot play this video. Learn how to fix this. 3. Configurando Windows Azure Your browser cannot play this video. Learn how to ...
El primer paso a completar es el tener una cuenta en Azure, hay que tener muy claro que esto representa algo que va a significar en costo y cargos por utilizar los servicios. Lo que haremos es ir a www.azure.com . Veremos una página como esta El siguiente paso es acceder a la cuenta de la siguiente manera, haciendo click en Account llegamos a la siguiente página… 1. Si ya se tiene cuenta en alguno de los servicios, pues se hace click en las opciones de la derecha. 2. Si no se tiene cuenta, entonces ...
First of all, sorry for not posting for a quite long time. I have started working on designing and developing a charity website for blood donation. So all my leisure time was diverted into that. I will ensure that going forward, I post at least one post every week. Lets get into the topic of this week, without delaying any more time. I have always been using asp:Menu and asp:Treeview for transforming the sitemaps to super cool menu which are auto generated by ASP.NET for us. But I wanted more and ...
Yesterday (22nd July 2010) was mvcConf – “the Virtual ASP.NET MVC Conference”. This was an ambitious undertaking by the community to deliver a three track, 20+ session conference for FREE using Live Meeting. And… it worked great. A big well done to everyone involved. It was particularly interesting to me and my team as we are hoping/planning to do similar online conferences in UK time around technologies such as the Windows Azure Platform and Windows Phone 7 – and attending yesterday gave me the ...
Most simple forms we write, especially in LOB applications, are repetitive sections of inputs and/or displays. Take a look at an exmaple from the MVC Music Store sample, the album editor template, notice anything repetitive? <%@ Import Namespace="MvcMusicStore"%> <%@ Control Language="C#" Inherits="System.Web.Mvc.Vi... %> <script src="/Scripts/MicrosoftAjax... type="text/javascript">&... <script src="/Scripts/MicrosoftMvcA... ...
Back in January, Jeremy Miller posted a nice article on HtmlTags: Shrink your Views with FubuMVC Html Conventions. We were immediately in love with the idea and have spent several months adapting the conventions to work with our ASP.Net MVC applications. I was having a conversation with Ryan recently, reflecting on how far we’ve come and how we had no vision of that when we first read that article. I want to share some of that, so I will be working on a series of blog posts to show “What we are doing ...
Technorati Tags: ASP.NET MVC,mvcconf I took the day off work today to "attend" mvcConf: the Virtual ASP.NET MVC Conference, and had a great time. Thanks to all of the presenters and organizers of the conference. It was a huge success, and I'm sure that like me, most of the attendees hope there will be another soon. It was amazing how smoothly everything went. There were only one session cancellation and very few technical difficulties (I experienced none, but people in the chat rooms reported a few ...
Technorati Tags: asp.net Welcome to the MSDN Virtual Labs! Quickly evaluate or learn how to build great applications for Windows and the Web through a series of guided, hands-on labs which can be completed in 90 minutes or less. The best part is, the MSDN Virtual Labs don’t require any installation and are available to you immediately for FREE. Start by selecting the lab you’re interested in from the list below. http://msdn.microsoft.com/e... ...
Cuando se trabaja con LDAP desde asp.net, para el manejo de usuarios, es imprescindible brindar al usuario la posibilidad de poder cambiar su contraseña, así que usaremos un pequeño código que nos ayudará a realizarlo Private Sub ChangeUserADPassword(ByVal Username As String, ByVal Password As String, ByVal newPwd As String) Dim dcDNS As String = "whatever.com" Dim rootDN As String Dim rootDSE As DirectoryEntry Dim searchRoot As DirectoryEntry Dim userEntry As DirectoryEntry Dim searcher As DirectorySearcher ...
En ocasiones, me he topado con algunas personas que realizan algunas comparaciones sobre lo que extrañana de php con respecto a asp.net, una de los casos con los que me tope recaía en la posibilidad de lectura de un archivo de texto "usando los includes de php". Si vien es cierto que en asp.net no se pueden realizar includes ó más bien no es que no se puedan realizar, es que poseen otro nombre, la posibilidad de lectura de archivos de texto es completamente sencilla. Así que veamos unos ejemplos: ...
Updates to the VS 2010 Productivity Power Tools are out! They adds some nice new features and enhancements. If you already have the VS 2010 Productivity Power Tools installed, you can update it to the latest release by choosing Visual Studio’s “Tools->Extension Manager” menu command. This will bring up the VS 2010 Extension Manager – which allows you to browse and download new extensions. If you click the “Updates” tab on the left-hand side of the dialog it also allows you to see any updates that ...
Recruitment and interview process usually becomes complicated and very hard to follow with massive exchange of emails, bulky attachments and several people involved. So it was decided to develop a system that would simplify that process by allowing to find required information at a touch of a key - a web-based workflow-based application to automate the process without any need to install software on the client. The solution also needed to provide automated workflow to route tasks to the relevant ...
I have just published version 0.1A of CommonLogon at http://commonlogon.codeplex... It is a user authentication system for Extranet Web sites. CommonLogon is a mechanism for Extranet web sites to have a user logon process of the scope found for network logon but with extensions for the web such as the ability to restrict logons for a given account against IP Address. Common Logon Features Passwords stored as hash Password complexity rules Password aging Optional restriction of any account by IP ...
Existen ocasiones en que por distintos motivos, se deben brindar a los usuarios de un sistema elementos que permitan: 1-Hacer un uso mas enriquecedor 2-Ayudarlo a evitar errores 3-Una rápida utilización Un elemento importante que ayuda en la concepción y alcance de los tres puntos anteriores es la función de autocompletar. Pero antes debo destacar que este es un requerimiento presente en la mayoría de proyectos que se realizan y si bien para algunos no parece útil, es una herramienta sencilla y potente. ...
At http://www.sqlservercentral... I asked the question "Is prefixing table names with "tab" a good idea?" The general consensus amoung DBA at the best is that it is unnecessary. I also asked the question at http://forums.asp.net/t/157... there some point was seen to it by one contributor. The post at http://www.sqlservercentral... has a poll that will take input from non-members of the SQL Central forum. So, what ...
Fairly frequently a relative, friend, or friend of a friend asks me “Hey Eric, you know about this stuff. I want to learn to program. How do I do that?”. First up I like to understand what they expect to achieve (which often is at the level of “Make the next World of Warcraft”) then after some expectation resetting, I start to share my wisdom In the past I have tended to point folks at: SmallBasic - which is excellent, especially for kids Kodu – which is focused on visually developing games and is ...
In this Issue: Jim Jackson(-2-), Alex Golesh, Dustin Horne, Sl.ayer, xprblog, Mike James, and David Anson. Shoutouts: John Papa is on Deep Fried Bytes: Silverlight 4 Tools and RIA Services as Heard on Deep Fried Bytes Jaime Rodriguez has some help up for those that are having problems moving from the CTP to Beta bits: Tips for uninstalling the Windows Phone Developer Tools CTPs and moving to beta Koen Zwikstra reports an update: Document Toolkit 2 Release Candidate ... check out the feature list ...
It was a pleasure speaking at the Miramar .Net User Group on July 13th, 2010. We discussed some of the basics of ASP.Net MVC as there were some attendees who did not have prior exposure to the Framework then moved to discuss the new features that MVC2 offers as well as the MVC dev tools available in Visual Studio 2010 (MVC Project Templates & Snippets) that make development even easier. Audience was quiet engaged and we had lots of fun discussing MVC2 and its applicability to today's development ...
If you are working with GridView BoundField Columns and wanted to access the TextBox control on row editing for whatever reasons (which means when you click on the Edit link) then below is an example on how to do it. Let say for example you need to change the BackColor of the TextBox on edit mode. So at PreRender event of GridView, you can do something like this:protected void GridView1_PreRender(object sender, EventArgs e) { if (this.GridView1.EditIndex != -1) { TextBox tb = (TextBox)GridView1.Rows[Gri... ...
In this Issue: Michael Washington, Andrea Boschin, Alex Golesh(-2-, -3-), Jaime Rodriguez, Brandon Watson, Jesse Liberty(-2-), and Scott Guthrie. Shoutouts: Walt Ritscher announced a new Shazzam is shipping today, but haven't seen a notice yet. As a teas, here's a post from Walt: Oh, shiny! Animated Mandelbrot shader effect If you plan on any wp7dev work, check out this training: Windows Phone 7 Jump Start: Session One - Getting Started with Microsoft Windows Phone 7 and Silverlight ... this is a ...
If you are working with iframe in which the content takes time to load, you may want to display a simple loading indicator to the end users instead of letting the users see a blank screen in the page. To do this, here's one way on how to implemet it using javascript. <html xmlns="http://www.w3.org/19... > <head runat="server"> <title></title> <script type="text/javascript"> function hideLoading() { document.getElementById('di... = "none"; document.getElementById('di... ...
For Issue 900, I wanted to do another "best of" and it's a little tricky. I can't do best of from 800 to 900 because it will be heavily weighted to the early posts. So what I did was best of for 2010 so far. I also did best of 2009 to put that one to bed. In the lists, Number 01 is the top hit, and they go on from there. Just a note to bloggers... if you reorganize your blog, don't break your links! ... there are a couple on these two lists that I had to go find, and that means that other links on ...
This week, Scott Guthrie, Corporate Vice President at Microsoft’s Developer Division, announced, via blog post, the early Beta release of a new tool called WebMatrix. WebMatrix is a free developer tool that enables Web development geared toward what might I might call Markup-and-Script developers (more on that in a minute). And although WebMatrix draws upon technologies already, or soon to be, present in the fuller ASP.NET Web development platform and the Visual Studio integrated development environment ...
Last year my employer, Protegra, put on the first ever Software Development and Evolution Conference (SDEC) in Winnipeg. The event was such a huge success and the feedback we got was so positive that we’re doing it again this Fall and we’re making it bigger and better than last year! SDEC10 will occur October 13th and 14th 2010 at the Winnipeg Convention Centre! We’ve expanded the event to two days from the one day we did last year, and that means more sessions and more speakers! We’re still feeding ...
Technorati Tags: jQuery,ASP.NET,ASP.NET MVC,conferences I was excited yesterday to learn of two upcoming virtual online conferences about topics in which I'm very interested. The first one I heard about was mvcConf, the Virtual ASP.NET MVC Conference - Thursday, July 22. From the website: mvcConf is a virtual conference focused on one thing. Writing awesome applications on top of the ASP.Net MVC framework. The event will be free to attend, and your brain will explode from taking in so much hard core ...
Few months ago I've been seeing many users in the forums asking how to retain the selected tab in JQuery Tab across postbacks, so I've decided to write this post as reference to others who might encounter this kind of scenario. To describe the scenario, lets go a head and create the HTML mark up and construct the tabs. Here’s the markup below: <html xmlns="http://www.w3.org/19... > <head runat="server"> <title>JQuery Demo</title> <link href="jquery-ui-1.8.1.custo... ...
This year Microsoft revamped their partner program with changes to eligibility requirements, competencies, and other areas. In this post I want to talk about some changes to the competency requirements. The idea of competencies aren’t new, however this year we’re seeing Microsoft take a more serious view of who they allow into their partner program. Because of this, achieving those competencies are more difficult and require more investment. The idea is that only serious partners participate. Microsoft ...
Technorati Tags: .NET,ASP.NET,ASP.NET MVC I'm rewriting a "classic ASP" (that term always makes me laugh - Just 'cause it's old don't make it "classic") application in ASP.NET MVC 2. There's an existing user authorization table in the database, so I want to keep using that for authorization determination. I created a custom class inheriting from FilterAttribute and implementing IAuthorizationFilter: 1: public class DuffAuthorizeAttribute : FilterAttribute, IAuthorizationFilter 2: { 3: public DuffAuthorizeAttribute(params ...
Technorati Tags: Scott Hanselman,diabetes Scott Hanselman is on a mission to raise $50,000 dollars for the ADA Diabetes Walk 2010. $30,000 has been raised so far. He needs our help to raise the remaining $20,000. Are you a "Hanselfan"? If you: have been entertained and educated by the Hanselminutes podcast have a well-thumbed copy of "Professional ASP.NET" on your desk (heck, you could use the dang thing for a desk, it's so huge) ==> or have read one of Scott's other books have learned about a ...
I recently had the privilege of taking part of a conversation about available blog engines with some of our Microsoft Community Leaders. I since got interested in finding out more about available .Net-based extensible blogging engines. Two days ago, I came across a link about Oxite, a codeplex ASP.Net MVC-based mature open source blogging engine (http://oxite.codeplex.com). While the Oxite project is no longer active, its source remains available and downloadable. Additionally, the future holds great ...
I was recently tasked with coming up with a way to keep the session alive in ASP.NET as long as the user had the web page open. That way if they started filling out a form, then went to lunch and came back, they wouldn't lose all of the information just because their session timed out. The concept is actually pretty simple. You just need to make a call back to the server every once in a while before the session expires to update the session timeout. We figured as long as the user has the browser ...
Microsoft has recently released the first beta version of WebMatrix. What is it? Taken from the WebMatrix official site: "WebMatrix is everything you need to build Web sites using Windows. It includes IIS Developer Express (a development Web server), ASP.NET (a Web framework), and SQL Server Compact (an embedded database). It streamlines Web site development and makes it easy to start Web sites from popular open-source apps. The skills and code you develop with WebMatrix transition seamlessly to ...
Technorati Tags: .NET,ASP.NET,ASP.NET MVC,MvcContrib,localization In a prior post, I blogged about creating a custom class inheriting from System.Web.Mvc.DataAnnotati... to provide localized display names for my models. I was disappointed to find that the MvcContrib grid doesn't use the metadata provider for column names - it just splits "Pascal-case" property names into words (e.g. "FromDate" to "From Date") if a name hasn't been explicitly assigned. public string DisplayName ...
Recruit Officer: Have you given any thought to your future, son? Forrest Gump: "Thought"? Well, it appears that Microsoft has given some though to theirs with the new WebMatrix Beta. What is WebMatrix? WebMatrix gives you everything that you need to build Web sites using Windows. You download a small installer and then you can select which tools to install. I already have Expression Blend 4 and VS2010 Pro, so I’m only going to take WebMatrix and a DB (MSSQL SRV 08 R2 Express and leave defaults for ...
I have a WCF service and client, which worked fine, when I debug it on my local machine. However when I deployed the service to test server on the different domain. I've started to receive error System.ServiceModel.Securit... The caller was not authenticated by the service. ---> System.ServiceModel.FaultEx... The request for security token could not be satisfied because authentication failed. I've found a few similar recommendations, e.g. http://community.discountas... ...
I've attended Australian Remix10 and below is a list the points, that I've learned and/or want to read more about. The materials of US MIX10 conference are here http://live.visitmix.com/ Windows Azure ( pronounced [azh-er] http://dictionary.reference... - sounds great from hosting costs/redundancy, but how much work is required to change existing asp.net application with SQL backend to support Azure. http://www.azuresupport.com... ...
I’m going to toot my own horn here for a bit, highlighting some accomplishments from the last almost-decade I’ve been in the IT industry: Stayed up almost 48 hours straight creating suite of Crystal Reports for a start-up company’s initial product (which launched at the end of that 48 hour period btw). Wrote my own markup language for declaring formatting within an XSL:FO doc that would be translated through a Java app to output a PDF. Introduced initial prototype of web-based application ported ...
Technorati Tags: .NET,ASP.NET,ASP.NET MVC,Microsoft Unity In my current ASP.NET MVC project, I'm focused on testability and programming to interfaces rather than concrete implementations, so I have a ton of interfaces. I'm using the Microsoft Unity IOC Container, so my dependency injection initialization code looked like this: 1: using System; 2: using System.Collections.Generic; 3: using System.Reflection; 4: using Duff.Localization; 5: using Duff.Database; 6: using Microsoft.Practices.Unity; 7: ...