ASP.NET
There are 40 entries for the tag
ASP.NET
You want the RAD wonderfulness of a visual web part, but it needs to be deployed as a Sandboxed solution. Problem? No, SharePoint powertools for visual studio to the rescue! http://goo.gl/pQ9ct There are a couple limitations, read the above page, nothing major. e.g. 1. Javascript debugging is not supported 2. Debugging asp.net code is not supported. 3. Use of <% Assembly Src= is not supported I understand it does it by adding the markup as an embedded resource, but I haven't actually tried it...
I hope you haven’t come here looking for an answer!!! Because I want one too!!! I have recently been playing with JQM…and initially loved it….but…. I mean, jQuery mobile is fantastic...whats been done here I think is awesome. I'm enjoying working with it. (I know its beta 1!, but the below seems odd for even a beta release) There seems to be some fundamental bugs knocking about. Links for example. I have a fixed footer toolbar...3 buttons, Home, New, Settings. Home - I wanted to be non-ajax, so I...
OK, so for some reason you have a mega mashup solution with ASP.net AJAX, jQuery and web forms. Perhaps you are just on the migration from AjaxControlToolkit to the jQuery UI framework – who knows!! Anyway, the problem is that when you post back with something like an UpdatePanel, you will find that your nicely setup jQuery stuff, like the datepicker for example will no longer work. You may have something like this… $(document).ready(function () { $(".date-edit").datepicker({ dateFormat: "dd/mm/yy",...
Just a quick one, seems pretty weird to me. I installed .net 4.0 on an old IIS6 box, ready to deploy a asp.net mvc app targeting .net 4.0. I thought, which to me seems logical, that I install .net 4.0, setup a new web site, new app pool, set the web site to asp.net 4.0 (other configuration also needed to run MVC on IIS6 here and here) and it would just work. Errr… No. The page cannot be displayed! Nothing to do with MVC. Apparently just because you have installed .net 4 and the option is available...
Silverlight makes working with videos pretty straight forward, Microsoft makes Silverlight pretty straight forward with ASP.net and sharepoint is written in ASP.net, so match made in tech heaven!! I wanted a video player web part for sharepoint, that had some simple functionality like play, pause and volume. I started with expression encoder which output a nice media player interface...this is OK, but has a couple of restrictions; 1, its far to rich for what I wanted, animations all over the place...
I mentioned a while back that I had something I was working on that involved a change in language, actually a pretty radical change. I have been working on vocational project written in VB.net and made heavy use of LINQ to SQL. I wasn't sure of LINQ to SQL for anything else other than RAD and to be honest I'm still not. Anyway, I'm not getting into that debate. Needless to say I went all the way and don't use a single sproc in this project. Some of you will know I play cricket every Saturday for...
LINQ goes so much further than just SQL and XML. Something like this is just why I love LINQ, a LINQ query on an ASP.NET ListView controls items. 1: Dim items = From lvi In AspNetListViewControl.Items _ 2: Where CType(lvi.FindControl("Drop... DropDownList).SelectedValue = someIntVar _ 3: Select lvi) Getting a ListViewItem's where the selected value of a DropDownList is set to the value I want. So simple, yet so powerful. The observant among you will notice that this is in VB.net, not my...
I was just about to blog about this, then I found this post while scanning the asp.net feed. Guy Barrette does a great job of summarising it. If your in a rush, the home page is: http://blogs.msdn.com/sourc... and you can download it from here: http://code.msdn.microsoft.... While in the link mode; I spotted this at the same time on Charlie Calvert's blog a quick list of keyboard shortcuts for VS2008 Technorati Tags: Microsoft Source...
When working with asp.net and now XAML I lean towards code view over the designer, a preference of course, but considering this feature I guess I am not alone. When working with events in XAML you can simply type "Click=" and the nice little helper jumps up asking what event handler you'd like to wire it up to or even create a new one and the stub will be created. NICE! As an added little beauty, this doesn't automatically send you off into the code behind. Why-o-Why isn't it the same for asp.net...
Right, the virtual server is up and running...time to soak up some SharePoint...get some dnrTv episodes down my throat. Sahil Malik recorded a series of SharePoint episodes, 4 in fact. He starts with what happens when SharePoint is installed and finishes with some massive XML files for a Business Data Catalogue application. Tip: They are an hour long, so watch it in fast mode, the talking speed is still good and it only takes 30 mins to watch. Session 1 Session 2 Session 3 Session 4 Note: You can...
Reading Scott Hanselman's blog this morning, he stated that MS have released ASP.net Wiki. The idea is basically a "one-stop-shop" for all things asp.net to save people the time of googling and going through the results. First of all I thought that sounded like a good idea, but thinking about it I'm not so convinced and let me tell you why! Looking through the wiki, what I basically see is a carefully selected collection of links to various posts on a particular subject, now of course the wiki is...
I seem to be working more and more my lappy these days...still always on the my PC at the office but when at home the laptop has taken over from my machine of choice...strange really because I love having two monitors and find it a fantastic way to work but I guess the freedom a laptop has to offer wins the day. Anyway, I digress...seeing I was working on it more and more I decided to get myself a Christmas present in the guise of a specialist notebook mouse, I looked at several offerings from Microsoft...
You are all undoubtedly aware of LINQ to SQL, its fair to say its had a large amount of publicity and coverage in the .net circle. VS 2008 makes getting going with LINQ to SQL very easy but that is not the case with SQL Compact (yet!). However its not difficult if you have heard of a wonderful little app called SqlMetal, this little beauty will generate the .dbml files for you...happy days :) I have a small SQL Compact database to use for this demo, you can see it here in VS 2008 server explorer...
We have recently started using Cruise Control to manage our build processes, this works great with asp.net web deployment projects and TFS. Cruise control for those who dont know, is, according to the website "CruiseControl is a framework for a continuous build process. It includes, but is not limited to, plugins for email notification, Ant, and various source control tools. A web interface is provided to view the details of the current and previous builds" We run it on a separate box (soon to be...
MIX is over and this is the first of two posts covering the final day. I am currently on the train home with my lappy in power saving mode, minimum CPU etc etc. 1.5 hours left so I should get enough time to say what needs to be said! Today I decided instead of going the main stream route all the way I would slip off to a smaller session. After a chat with Scott Guthrie (!) I decided to miss the first of his two part session on VS 2008 and asp.net 3.5, I read most of the content on his blog and have...
The final session yesterday was a panel of developers including ScottGu, Angus Logan, Danny Thorpe from MS and some guys from other companies associated with MS (sorry I forget there names, perhaps someone would be kind enough to leave them in the comment so I can add them in?!). This raised some interesting points regarding, single point of failure for all web applications (being the users connection), this was then a fall guy for things in the cloud never being "as good". Points raised around security,...
Day one is over at MIX UK. As my first experience of a Microsoft conference I must say I was not disappointed :) The conference opened with a keynote from George Moore and Scott Guthrie and lots of small demos from third party companies and the little apps they have developed using MS technologies, mainly Silverlight, which is the main theme of the conference, well day one at least!! In the first and second session I stayed with ScottGu and watched as he ripped through the power of silverlight, present...
For the one person in the world that is using Visual Studio 2008 and doesn't subscribe to ScottGu's blog you should check this post! Technorati Tags: ScottGu, VS 2008...
OK, so just about everyone reading this post will be aware of LINQ, if not you can checkout that link, another great place is that man, ScottGu's blog. Anyway, I found myself with a spare few minutes (hence this post) which was largely due to how quick LINQ dealt with my small and simple task. I wanted to read user data out of a database and create a new XML file with that data (there is some stuff to go on after that but unless LINQ can compress and email files its use ends here!) There is nothing...
OK so anyone reading this is most likely aware that Visual Studio 2008 beta 2 has been released but you may not be aware that today they have released Silverlight RC1, Silverlight 1.1 tools for VS 2008. Plus MS have released a refresh to Expression Blend. Scott Hanselman's has the best post I have seen and is a one stop shop for all VS 2008 info. Check it out http://www.hanselman.com/bl... UPDATEI should really add for completeness, even though its already...
Just a quick one! I have just updated to the newly released asp.net AJAX framework and Control Toolkit to match and had this little error started popping up using the CCDD; after some head scratching the solution was simple.....Reboot IIS
Found these "Cheat Sheets" a while ago and have found them pretty useful so thought I'd better post them. They are for some of the Javascript base type extensions: Array, Boolean, Date, Error, Number, Object, and String asp.net Resources are planning to release more - definitly worth subscribing to the feed at aspnetresources if you are interested in this sort of thing!! Print out nicely onto A4; they'll be on my desk for a few months to come! Click Image to download...
So the other day I was adding a “news page” to one of my projects and thought it was a great chance to play with consuming some other RSS feeds that had related information to what I was working on. So I started looking round and found the RSS Toolkit that had an RSS Data Source control that is perfect for consuming RSS feeds – the toolkit actually does much more, you should have a read on Dmitry’s blog (he wrote the toolkit and in on the ASP.net team) download the toolkit here. I have also used...
So they have released ASP.net AJAX RC1 which is apparently the penultimate release before the fully supported product. Couple of new features... Built in VS 2005 Web Application Project template to create new AJAX application. Additional globalisation support for AJAX applications, improved substitution logic, compression and caching. The assembly Microsoft.Wev.Extensions.dll has changed to System.Web.Extension.dll and the namespace Microsoft.Web has changed to System.Web Two reasons for the change...
OK so I’m not quite there yet! I have passed Web Apps and Windows apps and have one exam left to do (XML services and .net remoting which I must say is the hardest of all three – perhaps some of you out there who are already MCAD/MCSD agree?!?)These will soon be out of date as the new .net 2.0 exams are released and the certifications have changed slightly but I haven’t really looked in these a great deal. I actually started life as a software developer late on and put myself through further education...
I have just read this great post on www.codeproject.com by Omar AL Zabir who is the author of www.pageflakes.com. Its got some great tips on advanced use of the asp.net AJAX framework. Well worth a read, find it here...
I'm sure there are many that have had headaches over this - you spent hours doing "find and replace" jobs throughout your project only to find that despite an errorless build you have the red squigglies all over the place...and I'm sure you have also found that the solution is to change the tag prefix in the web.config from asp to something like Ajax. Well the bug is official! read more about it here on Scott Gu's blog. Basically he suggests to do the above with the tag prefix or (as the bug only...
This is an awesome little tool; "Web Development Helper is an Internet Explorer plugin that provides a set of useful tools to both Ajax/JavaScript developers as well as asp.net page and control developers." You can download it here, for those who are unaware the guy who wrote it Nikhil Kothari is an architect on the asp.net team, he has a few projects you can see here. One (Script#) is a C# compiler that outputs JavaScript!! How cool is that...
Well we all now know that ASP.net AJAX is only supported from MS as a GAC installation, and we all know what a complete pain that is....mainly due to hosting companies just wont install it. Well I have one and yes I am going to share...!! DHosting, they are a top company. Always looking to improve their equipment, service etc. UK based, the owner Chris is always on MSN and more than willing to help. Plus SQL 2005 with connection from client Management Studio/Win app's etc.... Enjoy! ---------------------------...
CSS Adapter beta 3 was released just over a week ago now so this is probably old news!! However you should know that the bug I found detailed here is still there, so I still needed to edit a little of the code for IE6 to work OK. However another bug I was invloved seems to be fixed, I must say this fixed bug is certainly more important one to fix so top marks to Russ Helfand on this. Anyone who is yet to use this, I would at least recommend using it on the Menu control; I have saved around 20KB on...
In my last post I went over a couple of problems I am found while migrating to the new AJAX beta framework. Mainly this was related to Web Services with a little on the Cascading drop down control...I have since got some more info in about this control so instead of updating that post I thought that the Cascading drop down deserved one all of its own!!! :) I am only going to cover the problems I found when migrating; this is not a tutorial on using the control. There are plenty of those around! 1....
I am currently converting my app from Atlas CTP to ASP.net AJAX, I am having a few problems here and there...least of all intellisense doesn't work but the page builds and displays?? Wait to here from the ASP.net forums on that one...stay tuned! A change from the CTP's, to call a web service through the MS AJAX library you need to add the.... [Microsoft.Web.Script.Servi... ..to your web service class or add the Microsoft.Web.Script.Services namespace to your to the using statements....
MS have released the beta 1 of the AJAX library. This is an official release and has the code feature that will be supported when its finally released. Check Scott Gu's post here
The latest release of the Atlas Control Toolkit has been released... You can download and see the demo's here Check out the updatepanelanimation here there is also an animation extender to show panels etc with a zoom, fade etc. Scott Gu has a great post (as expected!) here They have a nice little slider control for selecting ranges, it looks pretty cool. Another one that caught my eye is the 'NoBot' control which is like an invisible captcha.....worth a look :-)...
Hi There If like me you love to use CSS instead of HTML tables for the layout design of your pages then you no doubt have at least tried the CSS Adapter for asp.net 2.0 controls, if not take a look here. Scott Gu has a great blog on it here, which discusses the new release, how to install etc. In a previous post (link to it on the same post) he talks about how easy it is to write your own adapter. It comes with a nice tutorial and sample application, I have to say that its not as straight forward...
Some great news for Atlas devs, looks like we can see a supported release around the corner. Not to sure about the name though! ;-D Link to ScottGu's Blog : "Atlas" 1.0 Naming and Roadmap
I am having huge problems with setting up SQL session state for my ASP.net app. I have run the aspnet_regsql.exe tool and the database has been created correctly with the user id etc.However nothing is saved in the session...i can look at the sql tables and see that in the TempApps table i have my application, when i look in the TempSession table i don't have any rows. I have tried to do something very simple like this... Master.PageTitle is just the text property of a label control. if (Session["test"]...
Recently found some great tutorials on n-tier development with asp.net 2.0, well actually its n-layer to me. I consider n-tier development to be across different hardware platforms e.g. database server, presentation server (front end or presentation layer). N-layer development is separating your application code into layers... presentation layer, business logic layer, data access layer and data layer. Most of the time you will develop on 2-tiers as above, having a database server is quite normal...
I love using a nice little tab control on my web pages but I never seem to find an good solution…well a FREE (!) one anyway! There are some great tab controls out there to buy but I have never really looked at them as paying for controls is not in my vocabulary. This little control is probably no match for one of those but for a simple and FREE solution look no further! The problem I have with the current solutions I use are 1. The javascript and CSS solution using relative positioning and...
Hi there, thought I would post a little intro blog to introduce myself to anyone reading this blog. I am in England in the south west county of Somerset. The main point of my blog will be to post interesting tutorials and articles on .NET v2, always C#, lots of asp.net with a little bit of SQL slipped in. You may also find a few blogs on something interesting (to me!) that I have done in the recent past…..basically this will turn into my Brain dump, hopefully some good stuff in between one...