Tag | Search Posts

Google now has a feature where the search updates as you type in the search box. You can implement the same feature in your MVC site with a little jQuery and MVC Ajax. Here's how: Create a javascript global variable to hold the previous value of your search box. Use setTimeout to check to see if the search box has changed after some interval. (Note: Don't use setInterval since we don't want to have to turn the timer off while Ajax is processing.) Submit the form if the value is changed. Set the update ...
source: http://geekswithblogs.net/c... Update (10/06/2011): I no longer recommend the approach below. It is too much of an administrative nightmare to create a wsdl for each possible service method call. See new advise here: http://geekswithblogs.net/c... Question How do you make it easy for client systems to consume the generic WCF services exposed by the ESB Toolkit using messages that conform to agreed schemas\contracts? Usually the developer ...
The Internet Explorer 9.0 team just posted about Pirates love Daises. This is a showcase game for the power of HTML 5 running inside IE 9.0 – and the author has done a fantastic job (you can get more details from Grant’s blog post). A game developer is an ISV (Independent Software Vendor) – a B2C ISV. In my role I don’t (typically) work with B2C ISVs, hence a reasonable question is “Why blog about it?”. I think applications like this demonstrate the power of HTML 5 and IE9 for delivering really rich ...
I have been in the market for a new computer for several months. I set out with a budget of around $1200. I knew up front that the machine would be used for developing applications and maybe some light gaming. I kept switching between buying a laptop or a desktop but the laptop won because: With a Laptop, I can carry it everywhere and with a desktop I can’t. I searched for about 2 weeks and narrowed it down to a list of must-have’s : i7 Processor (I wasn’t going to settle for an i5 or AMD. I wanted ...
In 2009 Microsoft released a case study about a project that we had done using the OOXML SDK 1.0 for Research Directors Inc. Since that time Microsoft has released version 2.0 of the SDK and PSC has done significant development with it. Below are some of the mile stones we have reached since the original case study. At the time of the original case study two report types had been automated to output as PowerPoint presentations. Now that the all the main products have been delivered we have added ...
After a great presentation by Jason Sheehan at MDC about RestSharp, I decided to implement it. RestSharp is a .Net framework for consuming restful data sources via either Json or XML. My first step was to put together a Restful data source for RestSharp to consume. Staying entirely withing .Net, I decided to use Microsoft's oData implementation, built on System.Data.Services.DataSe... Natively, these support Json, or atom+pub xml. (XML with a few bells and whistles added on) There are three main ...
Windows 2008 R2 might end up giving me a heart attack at some point. Yesterday I installed and configured UDDI 3.0 as part of an ESB 2.0 install & config. After configuring UDDI 3.0, if I browsed to the localhost/uddi virtual directory from IIS, all of the links would show up in UDDI. If opened up IE and went to the UDDI site only the Home and Search links would show up. You've probably already guessed at what the "fix" was... I had to Run IE as Administrator. Then when I browse to the UDDI site ...
MapReduce See http://en.wikipedia.org/wik... The MapReduce pattern aims to handle large-scale computations across a cluster of servers, often involving massive amounts of data. "The computation takes a set of input key/value pairs, and produces a set of output key/value pairs. The developer expresses the computation as two Func delegates: Map and Reduce. Map - takes a single input pair and produces a set of intermediate key/value pairs. The MapReduce function groups results by key and passes ...
In this Issue: Adam Kinney, Jonathan van de Veen, René Schulte(-2-), Vikas, Chad Campbell, Chris Koenig, John Papa, and Martin Krüger. Above the Fold: Silverlight: "Silverlight TV #54: Introducing 11 Brand New Labs" John Papa WP7: "Gestures in Windows Phone 7" Chris Koenig Training: "New Windows Phone 7 tutorials for Designers on toolbox!" Adam Kinney Shoutouts: Jesse Liberty posted ways to get help when you get stuck: Top 10 Tips To Getting Help With Silverlight From SilverlightCream.com: New Windows ...
In this Issue: Peter Kuhn, David Anson, Jesse Liberty, Mike Taulty(-2-, -3-), Kunal Chowdhury, Jeremy Likness, Martin Krüger, Beth Massi(-2-, -3-)/ Above the Fold: Silverlight: "Rebuilding the PDC 2010 Silverlight Application (Part 1)" Mike Taulty WP7: "WP7: Glossy text block custom control" Martin Krüger Lightswitch: "How to Create a Screen with Multiple Search Parameters in LightSwitch" Beth Massi From SilverlightCream.com: Requirements of and pitfalls in Windows Phone 7 serialization Peter Kuhn ...
SharePoint Installation in Windows 7 or Vista is not same as Windows Server 2008. You might have difficulties if you do not follow the proper steps. Here i have been tried to explain how to install SharePoint 2010 on Windows 7 or Vista and configure it. Assume, Installed OS Windows 7 x64 (as you may already know SP only support 64-bit OS) and Windows update Install SQL Server 2008 Install SharePoint 2010 You can install SharePoint using the following steps A. Install software prerequisites 1. Install ...
Exciting title eh? So, here’s the problem, I want to use my ViewModel to drive my Visual State, I’ve used the ‘DataStateBehavior’ before, but the trouble with it is that it only works for bool values, and the minute you jump to more than 2 Visual States, you’re kind of screwed. A quick search has shown up a couple of points of interest, first, the DataStateSwitchBehavior, which is part of the Expression Samples (on Codeplex), and also available via Pete Blois’ blog. The second interest is to use ...
Following up on my most recent post about LightSwitch I thought I’d keep you in the loop on a valuable LightSwitch resource. The Beginners Guide to Visual Studio LightSwitch provides a jump start to get you and the department-level-typical-Ac... rolling with LightSwitch in no time. The guide is broken down into 4 easy to follow parts. Beginners Guide to Visual Studio LightSwitch (Part – 1) – Working with New Data Entry Screen Beginners Guide to Visual Studio LightSwitch ...
I just bought a new T-Mobile G2. I wanted to turn on Wifi calling but kept receiving "W006.15 isp or T-mobile Network Error" and asking me to register. After doing some research I looked at my cable modem/router logs and config. There were fragmented packets originating from the phone and the incoming fragmented packets were blocked. I disabled the "Block fragmented packets" setting and the phone was able to connect for Wifi calling ...
Let’s say that you have a list of objects that contains duplicate items and you want to extract a subset of distinct items. This is pretty straight forward in the trivial case where the duplicate objects are considered the same such as in the following example: List<int> ages = new List<int> { 21, 46, 46, 55, 17, 21, 55, 55 }; IEnumerable<int> distinctAges = ages.Distinct(); Console.WriteLine("Distinct ages:"); foreach (int age in distinctAges) { Console.WriteLine(age); } /* This ...
This post is about VS 2010, go here for the VS/TFS 11 extensions. UPDATED Apr 9th 2012: VersionInfo, NuGet, Code Contracts UPDATED Oct 7th 2012: New Visual Studio GDR UPDATED Aug 31th 2012: New versions updated of ReSharper, NDepend, Web Essentials, Community Build Manager, Code Contracts (March 2012), NuGet, ILSpy, DotPeek, Just Decompile, tangible T4 editor, LinqPad. Added the VersionInfo tool, so you know you have the latest update of VS 2010 UPDATED April 20th 2012: New version of NuGet manager. ...
It's just past the first of December, but I've been busy and it's now time to recognize devs that have a large number of posts in Silverlight Cream. Ground Rules I pick what posts are on the blog Only posts that go in the database are included The author has to appear in SC at least 4 of the 6 months considered I averaged the monthly posts and am only showing Authors with an average greater than 1. Here are the Top Posted Authors at Silverlight Cream for June 1, 2010 through November 30, 2010: It ...
I started tweeting a list of “protips” (or whatever you want to call that) related to the Twitter for Windows Phone 7 application. Since I worked as integrator on this app, my tasks involved integrating design assets in all screens, and so I had an insider view on all the screens (and that is really a LOT of screens :) Seeing some comments about the app made me understand that most users out there don’t realize how rich the application is, and how many features are available. So without further ado, ...
A few metrics that of course got out of hand, but some may find interesting: 1/2 My share of the MVP of the Year award in February of 2009 with Laurent Bugnion 2 Number of degrees I hold: B.S., M.S. Electrical Engineering 3 Number of years in the U.S. Army 3.5 Number of years SilverlighCream has been posted 4 Number of times awarded MVP 6 Number of professional positions I've worked: Antenna Rigger, Boilermaker, Musician, Electronic Technician, Hardware Engineer, Software Engineer 16 Number of companies ...
I parse/scrape a few web page every now and then and recently ran across an error that stated: "The server committed a protocol violation. Section=ResponseStatusLine". Cause?: On this page, I found an answer that suggests simply that the server header does not conform to the HTTP v1.1 specification. [Paraphrased...] This issue is caused when a response followed by a request to {certain} services violate the HTTP v1.1 specification. As an example, HTTP header keys should specifically not include any ...
This book is more than just a book about an ASP.NET CMS system - it has much practical advice and examples for the Dot Net web developer. I liked the use of JQuery to detect that JavaScript was not enabled. One chapter was about MemCached - this one chapter could justify the price of the book if you run a server farm and need to improve performance. Some links to get you started are: Windows Memcache at http://code.jellycan.com/me... Dot Net Access Library at http://sourceforge.net/proj... ...
What is the Silverlight Firestarter is all about? It is a one day, global, live streamed and on demand event keynoted by Scott Guthrie. It begins at 9am Pacific time. Yes, that noon for us east coasters here in the U.S. It provides new self-paced labs and walk through videos. It is interactive and you can ask the Silverlight product team questions during the event. To me the really interesting part is going to be the opening keynote by Scott Guthrie. Keynote : The Future of Silverlight Be first to ...
Rating is a new feature introduced in SharePoint 2010 that can be added to any SharePoint List/Library. It helps users to evaluate and authors to get feedback. In SharePoint 2007, we have write code and deploy it as feature for rating. How to enable Rating in SharePoint 2010? It's very straight forward to enable rating in SharePoint 2010 lists. First let's create a Custom list named "Search Engines". If you already have list/library then you can skip this. Once created, open the list select "List ...
Language packs enable to view SharePoint site in other languages like Dutch, Spanish, etc. These language packs are available free to download from Microsoft site. Once it's installed and configured in SharePoint then users will get option to select those language and view the site in that language. Where can I download SharePoint 2010 language packs? Microsoft provides 40 different languages (including English) for SharePoint Foundation/Server 2010. Those language packs have the sharepoint site ...
Goal: When loading js or css files, combine all the js files into one and all css files into one file respectively when rendering to improve on performance. Also compress if need be on the fly. In this example we use many css files and even more js files to organize the ASP.Net Mvc web app into manageable pieces. The reason for the separation is mainly because it gives the team the ability to work on different part of the web app by working on the affected css or js files. It also helps to decide ...
In this Issue: Jonathan Marbutt, Peter Kuhn, Jesse Liberty, David Kelley, Phil Middlemiss, Jaime Rodriguez, Ramesh Sringeri, Sigurd Snørteland, and Jesse Bishop. Above the Fold: Silverlight: "A Behavior for Remembering Settings" Phil Middlemiss WP7: "Attribute-based transient Tombstoning" Peter Kuhn Expression Blend: "Using the Visual State Manager" David Kelley Shoutouts: Gavin Wignall has a very cool Pivot app up: Silverlight Pivot experiement using the American Presidents Thanks everyone for the ...
Here’s a great new, Windows Update will now deliver Microsoft Dynamic CRM 2011 updates; I bet it’s an end to every 8 week Rollup update. If you are interest to see all update releases by Windows Update for CRM 2011, you gotta visit this: http://catalog.update.micro... Dynamics CRM 2011 Beta ...
I blogged a while back about a WP7 hack that was making the rounds showing how to turn your phone into a mass-storage device (so like a USB drive basically). I got around to try it today, and couldn’t figure out why it wasn’t working. Below are the directions (you can find these on a number of sites, the version below is from BigTech.com): Open Windows Registry Editor by typing regedit in your start menu Go to HKEY_LOCAL_MACHINE\SYSTEM\ Then go to HKEY_LOCAL_MACHINE\SYSTEM\C... ...
I've installed SharePoint 2010 and create first site collection. When I try to specify Target Audience for Announcements webpart in Home page via WebPart Properties, there is no "Target Audience" option. When I did google, articles which specifies how to set Target Audience for List. But that's not what I need. This article will explain how to get Target Audience for webpart in SharePoint 2010 sites. How to specifiy Target Audience for Webpart in SharePoint 2010? Well, It's obvious that free versions ...
For Web Designers and Developers writing CSS code for elements is so time consuming. That too make changes in SharePoint Stylesheets(CSS) needs more patience. First have to make change in CSS, reset IIS(or Application Pool Recycle), clear browser cache/temp files and check. Even for one small change or entire CSS change the mentioned steps has to be done. Sometimes the changes won't reflect and makes little irritating. Many of us faced and facing this issue. Alternatively you can make changes with ...
This evening I thought I would look into something that I have been meaning to look into for a while, but just haven’t given the time of day. Initially I wanted to brush up on some LINQ, but after going over the definition of LINQ, I stumbled across extension methods… I have heard of them quite a bit – but never really bothered to see what they are… So the official MSDN explanation says the following… “Extension methods enable you to "add" methods to existing types without creating a new derived ...
With all the noise (not to mention the funk) around HTML 5 and Silverlight at PDC 2010, we could be forgiven for missing the numerous keynote announcements about Windows Azure and SQL Azure. And with all those announcements, we could be forgiven for missing the ostensibly more arcane stuff in the breakout sessions. But one of those sessions covered material that was very important. That session was Lev Novik’s “Building Scale-out Database Applications with SQL Azure,” and given the generic title, ...
Most of the time, I get question from new friends who work in other technologies that "SharePoint is for Content Management/WebSite Creation?". Well, it's common because SharePoint is sucessor of Microsoft Content Management Server (CMS) which dedicatedly used for Web Content Management. SharePoint Portal 2001 predominantly focus on Content Management feature, whereas the later releases came with more features. It's very easy to create Colloboration portal with SharePoint in Minutes where it requires ...
[UPDATE Nov 25/2010] So last night I plugged my phone into my pc to charge, which brought up the Zune software. I wanted a few more apps, so I downloaded them from there. Phone synched, and I went to try my apps. I thought “What the hell”, and tried to access an app on the marketplace. This time I didn’t get the “This item is not available from the Marketplace catalogue”, I got some message about an error and a hex value. I tried to access an app again to see if I’d still get the error message and…*POOF*…I ...
Part of working with Web Services is pushing data to SharePoint. There are numerous Blogs and articles that show you how to update, delete and add new list items. One of the things you will want to do is add metadata, specifically adding values to "User/Group" columns. The problem is that SharePoint has a specific format that needs to be followed. If you look closely, underneath the covers SharePoint keeps an 'ID;#username' format. You might be wondering, "What is the ID for? and where does it come ...
Please buy XP Tablet edition - Steve Balmer, 2002 Recently there was a story on PC world explaining why tablet computing hasn't been successful with businesses despite the fact that hospitals, the sales industry and delivery services have been begging for tablets forever. Their explaination is that Apple's iPad gave users the freedom to figure out what to do with the tablets rather than force them into certain usage scenarios. Wrong. iPad was successful and tablets were not for one simple reason: ...
Some time ago I was asked to look at NDepend - pressure of work has delayed me until now. I have looked at the introductory video at http://www.ndepend.com/Feat... I suggest that you look at the NDepend download page at: http://www.ndepend.com/NDep... Please note the following: You can use freely NDepend trial edition for non-commercial uses: Trial on commercial projects within a reasonable amount of time (such as 2 weeks). Academic usage in universities and school for educational ...
What is Favicon? Sometimes we come across some websites which shows their logo instead of explorer logo in Address bar. A typical example is Google, login to google with IE and watch address bar. You can see google logo then the URL. This icon is stored in the PC when we add the sites as bookmarks. When you open bookmarks menu the site name will show with the icon. How to create Favicon? It's very easy to create favicon. All you need is the company logo or image(in JPG/PNG/GIF format) which you want ...
Social Networking is booming in last few years. For example, Facebook reaches 500 million users(as on July 2010) and Twitter has 190 million visitors per month. It's human tendency to know about others and share information with them. In any organization collaboration is key thing and it helps to improve operating efficiency. SharePoint 2010 development team keeps all these in mind and bundled cool Social Networking features with SharePoint 2010. Social Networking Features Ask Me About Activity Feed ...
In this Issue: Martin Krüger, Vikas, Kevin Dockx, Brian Noyes, Kunal Chowdhury, Gergely Orosz, Garry McGlennon, René Schulte, Matias Bonaventura, Bart Czernicki, and Dennis Doomen. Above the Fold: Silverlight: "How to: create a nonrectangular ChildWindow - part 1" Martin Krüger Prism: "Prism Training Kit: Updated to Prism 4.0" Matias Bonaventura Shoutouts: Component Ways has a releast of their xamlDataGrid for Silverlight... might be worth a look ... check out the feature set and download the eval. ...
I just got my first WP7 (an LG Quantum) about ten hours ago. Since then I’ve explored it, played games on it, registered it as a dev phone, deployed my project that’s nearest to completion and tested that, taken some pictures, transferred some essential albums to it, downloaded some apps and some trials, and setup my twitter account and several email accounts both standard and custom. Between one thing and another, I never had a chance to use an actual phone until now. So I’ve been running on pure ...
I was lucky enough to attend Visual Studio Live! in Orlando on November 14th-17th. There were so many great speakers and the networking was great. I met a lot of really cool people and we talked about everything .NET (from WP7, Silverlight, C#, ASP.NET WebForms, AJAX, MVC 3.. and so forth). I took a lot of notes during all the sessions and wanted to provide it to those that could not come out. If you follow me on Twitter then you have seen most of these. Most of the authors put slides/source code ...
There's a lot of public backlash concerning the new TSA Airport security measures which include the new rather invasive body scanners and the option of a very intimate pat down should you decline the body scanner. What I want to know is why can’t the people who build the body scanners build them a little smarter? Smart enough so that everyone passing through doesn’t feel like they’ve just walked naked past a group of strangers. Now I don’t pretend to know all about what goes into developing the backscatter ...
SharePoint 2010 is released and available in 3 Editions. They are Microsoft SharePoint Foundation 2010 Microsoft SharePoint Server 2010 Standard Edition Microsoft SharePoint Server 2010 Enterprise Edition Before start implementing Sharepoint, its must to select the right edition for given requirement. When we recommend SharePoint to customers, they first ask what's the cost? Well, it's based on what for SharePoint is going to be used. 1. Microsoft SharePoint Foundation 2010 MSF 2010 is the least ...
It's a common question very often I've been asked. Well , Microsoft defines "SharePoint is a Business Collaboration Platform for the Enterprise and the Internet". It's a perfect definition or IT Pros (esp. CXOs), but when it comes to Developers it requires more or different definition. SharePoint first released in the year 2001 as SharePoint Portal 2001. Basically It's a portal which has functionalities for intranet website. The features can be used as it is or can be customized minimum level. SharePoint ...
It takes a short overview of Microsoft development tools and platforms evolvement in order to demonstrate the importance of supporting Web Forms development for ASP.NET Ajax with HTML5 enhancements. In an article that Todd Anglin publishes in Redmond Developers, under the title "Silverlight: What Web Forms Wanted to Be", Todd says that ASP.NET was supposed to be Web Forms. A framework that meant to duplicate VB6 ease of development or rather its more mature successor Window Forms. Asp.Net was expected ...
First, some background information: I have some javascript that requires data from the database to set values so I dynamically generate the script on the server via an action in my controller. I only want to do this generation when the partial view using it is dispalyed. So here is the problem: You have javascript you only want to load when a certain partial view is displayed. Depending on the state of data in the database, the partial view might load on page load or it might only load after an MVC ...
The other evening I had the unfortunate pleasure of having to rebuild a client's SharePoint farm. Generally, SharePoint is not unstable. Unfortunately, the original consultant built the farm with one service account, which made things dicey. Murphy, of some strange law fame, stepped in and presented a situation in which that service account password had to be changed. As you would expect, the administrator changed the password. Since the administrator was newer to SharePoint he didn't realize the ...
The "fn_cdc_map_time_to_lsn" is especially useful DECLARE @begin_time datetime, @end_time datetime, @from_lsn binary(10), @to_lsn binary(10) SET @begin_time = '11/10/2010 10:00 AM' SET @end_time = '11/10/2010 8:00 PM' SET @from_lsn = sys.fn_cdc_map_time_to_lsn(... greater than or equal', @begin_time); SET @to_lsn = sys.fn_cdc_map_time_to_lsn(... less than or equal', @end_time); SELECT _OU.unit_natural_id AS Order_Id , CONVERT(DATETIME, LEFT(CONVERT(VARCHAR(80), _OR.return_body.query(' ...
In this Issue: Katka Vaughan, Jesse Liberty, Kunal Chowdhury, Karsten Januszewski, Michael Crump, Mike Taulty, and Beth Massi. Above the Fold: WP7: "Netflix Browser for Windows Phone 7 - Part 2" Katka Vaughan LightSwitch: "Beginners Guide to Visual Studio LightSwitch (Part–3)" Kunal Chowdhury Shoutouts: Mindscape announced the release of Silverlight Elements 2.0.. great set of Silverlight controls. Check out their post and their Limited time offer: Silverlight Elements 2.0 is here! From SilverlightCream.com: ...