The CodeSmith Team is very excited to announce that CodeSmith Generator 6.0 will feature a built-in Visual Studio CodeSmith Generator Template Editor on top of our existing Visual Studio Integration. The team has been hard at work integrating a new Template Editor into our Visual Studio integration story. Without further ado: As you can see from [...]
Archive for the ‘ASP.NET’ Category
dynamic, Why not?
In these days, people begin to expertise some new features in .NET 4.0. And I am same to them as well. One of features I like and write to this post is dynamic keyword. It is not new, at least in PHP, Python, Ruby… But in .NET world, I think it is new and ship [...]
Teched 2011 Slides
I know, I know….It’s been almost 2 weeks since Teched and I still haven’t posted the slide decks of my sessions I’ve been super busy with some exciting development on both Tellago and Tellago Studios but I finally got to it WCF Best Practices My session about WCF best practices focused on highlighting patterns and [...]
How to add <clear/> or <remove/> Elements through Scripting
I had a question recently where someone was trying to add < clear /> or < remove /> elements to a collection in their IIS 7 configuration settings. With that in mind, for today's blog I thought that I would discuss a couple of ways to add < clear /> and < remove /> elements [...]
Windows 8, HTML, .NET
You probably heard about Win8 today. The short story is that they showed a touch-centric shell on top of Win7. Microsoft want us to start building touch-centric apps for that shell using HTML5. I don’t have any doubts that existing apps will still run with no changes in the old shell. The main question from [...]
WPF: Simple “Busy” Overlay
I’m working on a WPF project that does some background processing which could take more than a few seconds. Instead of a busy cursor, I want to give the user a simple “Please wait…” message via an overlay that appears on top of the form. I found the solution in this stackoverflow question. However, the [...]
My SharePoint 2007 Custom Membership Provider Adventure
Sometime last year I wanted to set up a SharePoint 2007 website for my family members to exchange information. That being said, I was using a custom membership provider, and I ran into a few issues while I was setting things up. I had kept detailed notes while I was configuring my server and troubleshooting [...]
Silverlight 5 Animations on the Composition Thread
Being a passionate front-end developer, I am constantly on the quest for creating the smoothest and most intuitive user experience possible. That’s why I was really excited when I heard about some of the performance feature [...] Read the rest of this article
Exportar GridView a Excel
Estimados, aca encontre un codigo muy util, que mas de una vez he tenido que utilizar, espero les sirva. protected void btExportar_Click(object sender, EventArgs e) { System.Text.StringBuilder sb = new System.Text.StringBuilder(); System.IO.StringWriter sw = new System.IO.StringWriter(sb); System.Web.UI.HtmlTextWriter htw = new System.Web.UI.HtmlTextWriter(sw); Page page = new Page(); HtmlForm form = new HtmlForm(); GridView1.EnableViewState = false; // [...]
Uso de FTP en ASP.NET
Aca les dejo una libreria escrita en C# para uso de FTP Esta es la forma de emplearla. FTPLib.FTP ftp = new FTPLib.FTP(); ftp.PassiveMode = false; ftp.Connect(“xxx.xxx.xxx.xxx”, “admin”, “pass”); if (ftp.IsConnected) { ArrayList Dir = ftp.ListDirectories(); foreach (object o in Dir) { Console.WriteLine(o.ToString()); } Console.Read(); } ftp.Disconnect();


