Tag | ASP.NET Posts

This post goes over how to display images stored in a database using the SlideShowExtender control. The examples use VB.Net (what I have to use at the office) and assumes that you are storing your images in a database, have a way to retrieve the images from the database (e.g. stored procedure) and have AJAX (example is based on the AJAX controls in VS2008) setup in your ASP.Net project already. Also the example was based on retrieving images that are photos hence the names of some of the various ...
In this Issue: John Papa, Tau Sick, Rudi Grobler, David Anson, Tim Heuer, Pete Brown, Jesse Liberty, Brandon Watson, Scott Guthrie, and Miro Miroslavov. Above the Fold: Silverlight: "5+ Ways to Reduce your .Xap Size" Miro Miroslavov WP7: "Windows Phone 7 Developer Tools Released " Scott Guthrie Shoutouts: Crocus Girl posted this contest from SilverlightShow: Announcing SilverlightShow 5-day Windows Phone 7 Quiz! John Papa posted the materials that went along with his OOB brown-bag last week: Silverlight ...
In this Issue: Michael Washington(-2-), Brian Noyes, Michael Ossou, Sharker Khaleed Mahmud, Mike Taulty, Jeremy Likness, Brad Tutterow(-2-), and András Velvárt. Above the Fold: Silverlight: "Best Practices for Themes in Modular Silverlight Applications " Jeremy Likness WP7: "Being theme aware in Windows Phone 7 Silverlight apps" András Velvárt Lightswitch: "LightSwitch Student Information System" Michael Washington Shoutouts: Erik Mork & Crew have their latest podcast up: Show 106: Jetpack themes ...
TOPIC: BDD and SpecFlow This is a presentation on how to use BDD and SpecFlow to build software driven by specifications. It will include a brief overview of how SpecFlow works and how to define specifications, followed by a compare and contrast with standard TDD. It will finish with real-world SpecFlow examples of successes and failures. PRESENTER: Darren Cauthon Darren Cauthon is a developer with over eight years of experience, half of which have been on the .Net platform. He currently works for ...
Hajan posted a blog at codeasp.net and discovered an awesome tool that would let you Create, Build, Run, Test and Debug codes online. I find this tool very useful and handy because I can easily run and test codes without Visual Studio and without installing something in my computer. What is this awesome tool by the way? They called it CodeRun Studio - CodeRun is A free, cross-platform browser-based IDE designed for the cloud. It enables you to easily develop, debug and deploy web applications using ...
I’ve been making my way through a few MVC books recently and was looking forward to reading Stephens book. Stephen does a lot of videos on the Microsoft asp.net site that I like and I was not disappointed by the book. Although not really targeted at MVC2 and VS 2010 all the basics are the same. He does an excellent job of stepping through the components of MVC… controllers, views, models and routing. He also digs into HTML helpers, binding, caching, authentication, testing and jquery. All the examples ...
Sam Abraham (Me) will be speaking at The South West Florida .Net Code Camp taking place on Saturday, September 25th, 2010. I will be sharing two topics: “SSIS for C# Developers” and “Introduction to ASP.Net MVC”. With so many great speakers covering a wide variety of today’s hottest technologies, the event is bound to be a great learning experience for all. Looking forward to attending as many talks as my brain can take. :) See you all there! --Sam Abraham Here are the abstract for my scheduled talks: ...
In this Issue: Szilárd Szakács, Michael Washington, Mike Taulty(-2-), Chris Koenig, Tim Heuer, Kranthi Kiran Gullapalli, David Anson, Mohamed Mosallem, Michael Crump, Dan Wahlin. Above the Fold: Silverlight: "MVVM so easy a n00b can do it (Silverlight4) " Michael Crump WP7: "DeferredLoadListBox (and StackPanel) help Windows Phone 7 lists scroll smoothly and consistently " David Anson Lightswitch: "A LightSwitch Home Page " Michael Washington Shoutouts: Jesse Liberty has a ** DRAFT ** Community Comment ...
For those that didn’t know, I have recently left a long run at Thomson Reuters (which is a great company BTW) for a new gig as CIO of Swank Motion Pictures. This company works in the movie distribution business to cruise ships, trains, universities, and more. Some links if you are interested: http://www.onboardmovies.com/ http://www.swank.com/colleg... https://www.swankhealth.com http://www.k12digitalmovies... http://www.swank.com/digita... and more more more …. The thing is that ...
Entity Framework 4.0 (EF4) it the strategic .NET ORM from Microsoft. Hmm…. the “strategic” word. I will come back to that. However the important bit of news is we have Julie Lerman at Microsoft in London on the 22nd October devoting a full day to training on “Hard Core Entity Framework 4”. It’s a rare visit so if you’re interested in learning about the data stack from a recognised world-wide authority and author on the topic then register now (£300). Now back to that word “strategic”. As developers ...
In a ASP.Net web app I have a button that says "Process". It will spawn a new worker thread that will look at a network share and process some Excel files that have been produced by a third party system. To access the share and to use the Excel COM interop, I am impersonating an elevated user account different than the authenticated user, using Windows Impersonation. I then generate an Excel COM object for each Excel file, and process the files available in the network share. Today I noticed that ...
In this Issue: Emiel Jongerius, PostVision, Mike Taulty, Jesse Liberty, Laurent Duveau, Phil Middlemiss, Xianzhong Zhu, pauliom, Sudhindra Kovalam(-2-), and Alexander Viken. Shoutouts: The Silverlight Blog announced the release of a new WCF RIA Services (Silverlight QuickStart) John Papacreated a stir yesterday with his Top 10 Silverlight Blogs ... thanks for the shoutout John!! Jesse Liberty posted The Great Silverlight Competency Test – 3 From SilverlightCream.com: Datagrid: support for grouping ...
While working to get the AutoCompleteExtender control up and running in a custom DNN module, I ran across a forum post that said doing so "just works", which if you have previous ASP.NET AJAX experience and know what is and isn't in DNN is probably very true. Trying to get it to run for the first time though, there's a few items to be aware of. Getting Started First recommendation, go download Fiddler (http://www.fiddler2.com/fi... like now... no seriously go download it. If you are running ...
Windows Live has had many lives. It started as a single page at www.live.com, where you could set up various widgets in a tiled configuration. The widgets mostly consumed RSS feeds and the idea was that you could have a home page where the content updated dynamically; i.e. where the content was “live.” I remember when the service was still in Beta and called Start.com; Robert Scoble, then a Microsoft employee, was hawking it pretty hard. It was kind of cool for its time, but it petered out, as did ...
MVC uno de los dos modelos de programación incluidos dentro del framework de ASP.NET para construir aplicaciones web. El otro modelo es el tradicional ASP.NET web forms. El modelo MVC separa la aplicación web en las siguientes tres partes: Modelo: administra y estructura de la toda aplicación. Aquí se regula aspectos como el acceso a la información, reglas de validación, entre otros. Vista: encapsula la información en una forma presentable; aquí es donde se incluye el HTML y CSS. Controlador: contiene ...
The West Palm Beach .Net User Group would like to thank our August speaker, Christopher Rushing, Owner and Senior Developer at Webangelo, LLC for coming to our meting and sharing his knowledge about Umbraco, an open source ASP.Net CMS. Umbraco presents an out-of-the-box solution for implementing systems that can be as simple as user blogs to as involved as ecommerce high traffic websites. It can also be easily extended and supplemented with standard ASP.Net User Controls. Umbraco is already a very ...
Dru and I were recently featured on Herding Code Podcast. In the podcast we talk about everything from package management in general to Nubular (Nu) to other package management systems (OpenWrap, Bricks, and Horn, although horn was/is slightly different) to the possibility of Microsoft releasing a package management system. It was a good time and I enjoyed doing the podcast, but the herding code guys start recording at an insane 10:30 PM! I have no idea how I made it through the whole thing and was ...
…make a LEMON GRENADE! I blogged a few days ago about this maddening issue with VS.NET 2010 and not being able to use the designer for ASP.NET 3.5 projects or add an EF model file to a .NET 4.0 project (You can read all the gory details here). Well my friends, I’m happy to report that I have a solution! Well, not a solution…but a workaround…kinda like how they dumped Megatron into the ocean at the end of Transformers instead of dismantling him: the threat is still there, just dormant. Unfortunately ...
It has been a while since my last blog post. I have been busy and lazy at the same time and couldn't find the time to get around posting new blog posts. I have been thinking of writing a blog post series on ASP.NET MVC for Web Forms Programmers. Especially because I am planning to give presentations at .NET User Group meetings and Code Camps starting this October-November. So, now I need to buy a 17" screen laptop with Windows 7 64-bit with 8GB RAM. I have always been a Desktop guy because I hate ...
Long time didn’t post any articals about the Windows Azure since I was fully busy with our first cloud-based platform – XLR8 (codename: Xalent). Just a week ago my chief architect Ray asked me to try to deploy our platform on Windows Azure. There should something need to be changed and one of them is, on Azure we cannot use the local file system to store anything which was uploaded by the end users. There are two reasons: All files under the web role project will be treated as one package. This means ...
Normal 0 false false false MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} I had started to write this ...
This summer Inmeta ASA, a leading Norwegian IT company, bought Osiris Data. It means we’re now more than 150 consultants, up from 30 as we were. It means a lot for us, as we now can take on larger projects, more projects and with even more colleagues we will have better competency on more areas. It is also very exciting to be in a larger company, be “exposed” to more projects and more opportunities. Osiris Data was founded late autumn 1996, and started operation in January 1997, with 3 people. The ...
In this Issue: Rénald Nollet, Michael Washington, Mingfei Yan, Kirupa Chinnathambi, Roger Peters, Rob Eisenberg, and Microsoft. From SilverlightCream.com: Use the ASP.NET Authentication Service with Windows Phone 7 Rénald Nollet has a cool post up combining the ASP.NET Security Service with WP7... this was getting a lot of play on twitter last night... Printing With LightSwitch Michael Washington's latest Lightswitch post is a tutorial on printing from Lightswitch culminating in a very professional-looking ...
I blogged last month about an unsolved mystery I was experiencing, which I dubbed the Mystery of the Uncooperative EF Model and the Missing Target Frameworks. Since then, I’ve since expanded that to include the Mystery of why VS.NET 2010 can’t seem to resolve where my .NET 3.5 assemblies reside. Because of all this, let’s just go with the title of this blog, or as it’ll be known in its European release: HOOPED – a boy and his VS.NET installation. Without getting too wordy, let me give you the recent ...
While Microsoft continues to add features to WCF with each version, they are also adding features that simplify working with WCF services as well. Historically WCF has been somewhat intimidating to the uninitiated because of the non-trivial configuration for endpoints including behaviors, bindings, and much more. For this reason, a lot of people stayed with “old school” asmx web services. With the new features of WCF 4, you can build powerful web services with *no* svc file and *no* endpoint configuration. ...
For my first “real” attempt at creating a business application using Silverlight I decided to use WCF RIA Services, Silverlight 4.0, and Visual Studio.NET 2010. What easier way to get started than through a template provided by VS.NET 2010, right? Well, in its effort to make it easier it also create some headaches. Sometimes abstraction can add a learning curve as well. In this case it created some headache for me on this project. As an IT consultant for small to enterprise level business most of ...
I have recently started to look at EDI communications through BizTalk. Part of the EDI features in BizTalk is the use of BAM to track messaging. Amongst the applications we currently have built in BizTalk we do some SharePoint communication. This is also a possible component to our EDI solution. We also have plans to move to BizTalk 2010 in the near future, so today I started to build my new BizTalk Dev machine. I got a bit of a surprise when 2 parts of the required set had me setting a flag “Enable ...
El manejo de la información hoy en día es importante, pero lo es aún más la forma en que se controlan los accesos a la misma. Hoy veremos como crear reglas de accesso a nuestras aplicaciones web basadas en asp.net utilizando el membership provider que nos proporciona asp.net de una forma fácil y rápida. Para empezar, agregamos una nueva página a nuestro proyecto asp.net y definimos lo siguiente <table class="webparts"> <tr> <th> Website Access Rules</th> </tr> <tr> ...
I was facing a weird error page "page cannot be displayed" when everything is correct in my asp.net page which is called through ajax from another html page. But checked the page by copying the url in the browser and pasting it. even then it want working. Then finally set that aspx page as the startup page and tried executing. it worked then. Was struggling with this for an hour. What a shame, finally i have found out the reason that there was a space between http: and // it was like this : http: ...
I just wanted to put up here a list of upcoming speaking engagements. Mostly, for my own sanity, but just in case you were wanted to see me put my mouth where your money is: August 20th & 21st – St. Louis Day of Dot Net – St. Louis, MO Getting Started With Behavior-Driven Development NHibernate & Friends September 8th-10th – Heartland Developer’s Conference – Omaha, NE NHibernate & Friends October 21st & 22nd – Tyson Developer’s Conference – Springdale, AR ASP.NET MVC: How We Got ...
When Commerce Server 2009 was released, it introduced a new API (commonly known as Multi Channel Commerce Foundation) based on the latest technology stack at the time. One of the biggest changes was the basis of an n-tier architect, based on WCF, which for the first time removed the Commerce Server dependencies from the web/presentation tier, and allowed all of the logic to be encapsulated on a separate application layer. In modern day architecture this becomes important when the presentation tier ...
In this blog and in my column, I’ve written a lot lately about new technologies from Microsoft that seek to make software development easier. Technologies like ASP.NET Web Pages, Razor and WebMatrix, Access Web Databases and Visual Studio LightSwitch. Each of these technologies, I believe, is bringing much needed accessibility to programming on the Microsoft platform. I’ve also written about Windows Phone 7 which, despite extreme skepticism in the press and analyst communities, has the potential ...
Over the past several years social media has grown from just a few sites to a booming industry. With the wealth of information and entertainment available on sites like YouTube, Facebook and Twitter, it is easy to see where it has come from and why it has stuck. Little wonder why people, developers and companies have sought to leverage the connections found on social media outlets to further careers, sell products or just plain connect to the rest of the world. Recently, I had been asked to develop ...
My solution contains a number of projects; including a contract, service, host, and unit test assemblies. I host my services in ASP.NET web sites, which I run via my dev web server (cassini), and then IIS when I deploy to my production and test environments. My start up project is the Host project, so when I press F5, my service host starts and my services become available. When I want to unit tests my WCF Services however, the service host doesn’t start. I’ve specified the Host Project to Always ...
Following a need for an enhanced web based solution it was decided to convert the current VB Content Management System (CMS). After evaluating various Ajax frameworks for this project such as the ASP.NET Ajax Control Toolkit and Gaia Ajax for ASP.NET the developer (Luca Morelli) decided to go with Visual WebGui because it could provide a desktop-like user experience and similar UI and allowed to implementing additional functionalities over the original solution with ease and reduce the learning time ...
Las aplicaciones de Windows Azure se ejecutan en los centros de datos de Microsoft y son accedidas a través de Internet. Different kind of applications can be built on Windows Azure: · An independent software vendor (ISV) could create an application that targets business users, an approach that’s often referred to as Software as a Service (SaaS). ISVs can use Windows Azure as a foundation for a variety of business-oriented SaaS applications. · An ISV might create a SaaS application that targets consumers. ...
[Source: http://geekswithblogs.net/E... Using Parallel Extensions you can reduce loop execution time by 95%. Which, if you're evaluating .NET 4.0 and VS 2010, should be a cinching argument*. The Parallel Extensions library includes an abundance of features for fine-grained control over concurrent operations, and it also provides the very simple Parallel.ForEach construct, which takes an IEnumerable<> collection and an Action to run over each item, so: Normal 0 false false false EN-US ...
In this Issue: Rénald Nollet, Xianzhong Zhu, Joost van Schaik, Dan Wahlin, and Sergey Barskiy. Shoutouts: Jason Zander posted a Sample Update: Windows Phone 7 Example Application for Beta Tools Jesse Liberty has a great post up this morning: Ten Rules For Moving Your Blog Without Falling Off The Edge Of The Web A handfull of postings left over from last night, but I know I'll not get any added on during the day today, so I'm pushing these out early. From SilverlightCream.com: Sharepoint 2010 SilverXplorer ...
Another 2010 Tech ED discussion added to the blog - MEF - Managed Extensibility Framework - MEF is a way of automating the addition of DLLs to an executing process. With MEF utitlities can be added on the fly, and extended as needed. This allows us greater flexibility to late bind an abstract operation. Examples may be: Logging utilities could depend on database, file system, and event log availability. We may choose to target one or many options for logging. Deploy the appropriate assemblies for ...
In this Issue: Viktor Larsson, Roger Peters, Kirupa Chinnathambi, Kyle McClellan, Jag Reehal, Dinesh Sodani, David Rousset, Jeff Fansler, Paul Sheriff, Jeremy Likness, Mohamed Mosallem, and Jonathan van de Veen. Shoutout: The Visual Web Developer Team Blog posted Hot Fix Released for the Issue of Visual Studio 2010 Crashing When Switching to the Design View From SilverlightCream.com: Snipping databound properties Viktor Larsson has discussion of code snippets up in his latest post. He's specifically ...
So I am not a web developer! I have never been one but Silverlight keeps popping in my head as the next big thing on the Microsoft stack and I would hate to “miss the boat” (I am sure some C developer said that 10 years ago as well). Today I thought I would get a little wet with Silverlight & WCF. Up to now I have been working in WPF so I am not scared of XAML and am surprised to say that I actually enjoy it. I have however never worked with WCF so for me that will be the learning curve. My project ...
In my previous post here I have demonstrated how to add dynamic rows in Gridview with a combination of TextBox and DropDownList. Just in case you need to validate empty TextBox values before adding a new row to the GridView then here's a JavaScript function that you can use for validation: function ValidateEmptyValue() { var gv = document.getElementById("&l... Gridview1.ClientID %>"); var tb = gv.getElementsByTagName("in... for (var i = 0; i < tb.length; i++) { if (tb[i].type == "text") ...
In this Issue: Jeff Fansler, Chris Klug, Kirupa Chinnathambi, Mike Taulty, David Anson, Florent Pajani, Kunal Chowdhury, Mike Snow, and Jesse Liberty. Shoutouts: The Swiss Team Blog announced Hands-on Lab: Silverlight 4 Line of Business Application using WCF RIA Services Now updated to reflect RTM changes Dan Wahlin posted his Silverlight 4 Code Demos from the Microsoft TechReady Workshop From SilverlightCream.com: The Windows Phone 7 Application Bar Jeff Fansler has another WP7 post up and is talking ...
One of my colleagues pointed me at Howard Baines as a recent example of a web consultancy already using Visual Studio 2010 and Entity Framework 4.0 to build web applications. I managed to grab a little time with co-founder Clive Howard (on twitter) to talk through some of the decisions, especially as I was intrigued to learn that they started out on Open Source Software including Ruby on Rails before switching to the .NET Framework. We discuss: Why switch to the .NET Framework? Entity Framework 4.0 ...
I have decided to try and put together a top notch online conference delivered predominantly via UK based speakers, inspired by the very enjoyable and useful community driven MVC Conference http://mvcconf.com/ (see my write up) What I need now is top notch session proposals from folks who know what they are talking about and ideally are UK based. Which means – you! Possibly :-) The plan is: The conference will take place 10am to 5pm UK time, delivered using Live Meeting and recorded for on-demand ...
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. ...