Tag | API Posts

In this Issue: Corrado Cavalli, Davide Zordan, Braulio Diez, David Anson, Jeff Prosise, Jesse Liberty, Koen Zwikstra, Giorgetti Alessandro, John Bruin, Colin Blair, Radenko Zec, and Gill Cleeren(2). Shoutouts: Have you seen this for Visual Studio? Visual Studio Theme Generator .. very nice! Jeff Barnes has his slide deck and projects up for a Silverlight presentation he gave: Silverlight 4 – Presentation and Code Samples My Advent Candle seems to have a problem, but could answer why I'm having trouble ...
Technorati Tags: Application Architecture and Design Strategies,Silverlight,Para... Programming,Tutorials The MSDN Southern Fried Roadshow is a developer/architect training through the southeast, presented by technology evangelists Chad Brooks, Glen Gordon and Brian Hitney with Microsoft. Dec. 8 2009. Introduction to ADO.NET Data Services The new wave of Web applications are built on AJAX and Microsoft Silverlight. We learn how ADO.NET Data Services enables applications to expose data as a REST-based ...
In this Issue: Damian Schenkelman, Zoltan Arvai, Deborah Kurata, David Poll, Fredrik Normén, Victor Gaudioso(2), Adam Kinney(2, 3), Karl Shifflett, and Gill Cleeren(2). Shoutout: Jeremy Likness has a great post describing how to Host WCF as Windows Service without Installing Bea Stollnitz announced her new site/venture: Zag Studio’s web site... good luck Bea, and I hope you keep blogging good stuff! From SilverlightCream.com: Will Silverlight 4 ICommand support simplify using commands in Prism? Damian ...
Part 1: BizTalk Monitoring Engine Overview There are a few products on the market today that provide monitoring capabilities for BizTalk Server. So, in a market that provides seemingly abundant choices, what makes Minotaur special? What differentiates Minotaur from its competition? This post delves into the details of what makes Minotaur the leading choice for monitoring BizTalk Server enterprise solutions. Agent-less deployment Minotaur was designed to perform its monitoring services from a central ...
In this all-submittal Issue: ITLackey, AfricanGeek, Yasser Makram, Rob Houweling, James Bacon, Max Paulousky, Andrea Boschin, Andrew Veresov, Michael Washington, Corey Schuman, Mark Tucker, Fons Sonnemans, Pencho Popadiyn Thanks for all the submittals! Very glad *that* holiday is behind us... let's get back to posting! From SilverlightCream.com: Silverlight Metronome ITLackey has built a very cool Silverlight metronome with lots of features. If you're a musician, bonus! If you're not a musician think ...
For those of you who missed the chat today, here is the raw transcript. By raw, I mean that I copied and pasted the discussion without any edits. This is divided into two parts, the top part is the answers from the Microsoft Experts and the bottom part is the questions from the audience. Answers from Microsoft: msft_davbo (Moderator): Our chat today covers the topic of Windows Embedded CE! 1. This chat will last for one hour. During this hour, our Experts will respond to as many questions as they ...
[Update: 2009-12-30] We got it working using SSIS. Read this post: http://geekswithblogs.net/L... [Original post] Would love to know if there is a way to kick off a SSRS report and pass some parameters into it via T-SQL or SSIS. Unfortunately, we can't have MS SQL Enterprise edition. Guess this is the true list of possible solutions: VB script PowerShell WMI script batch file T-SQL Sad thing is I know how to make this ...
I’d like to provide you with a SilverBullet™, a small snippet of Silverlight, a class or namespace hidden in the silverlight .NET framework, to help you out in times of need. It’s not to learn, but something to keep in your pocket. Just remember it’s there and you’re safe. When writing the demo for the code-camp I ran into issues getting back on the UI thread after calling a webservice. The call to the webservice was made from the UI thread, but the callback was made on a different thread. The System.Threading.Synchroniz... ...
What is Proxy and how to generate proxy for WCF Services? The proxy is a CLR class that exposes a single CLR interface representing the service contract. The proxy provides the same operations as service's contract, but also has additional methods for managing the proxy life cycle and the connection to the service. The proxy completely encapsulates every aspect of the service: its location, its implementation technology and runtime platform, and the communication transport. The proxy can be generated ...
I own a company, Tiger Computer Services Ltd, which is an Independent Software Vendor (ISV) providing .NET software solutions to clients in the London area. One of the most significant considerations when running a small ISV is the cost of supporting software in the field. For some clients, support is not a billable item, especially if the fault is within the software we have provided. This means that every time the telephone rings, we bleed money, and if we have to actually go on site to resolve ...
After the first two tutorial steps were published on this blog I received many requests about using images inside a Silverlight for Windows Embedded application. This is the topic of this post. To be able to load and use image files (jpegs,bmps,gifs) inside your application you should include the imaging library components in your OSDesign. Those component are not included automatically when you add the XAML runtime (the runtime can run also without the imaging components, it will simply not load ...
I have written about about WebAii before. It is functional but the API sucks. I have written about NGourd too. I am currently working on a project that is using the combination of NGourd and WebAiii for automated acceptance testing. We start with a story: Feature: Search As a user I want to search for items so that I can find data that I am interested in and then write some scenarios like: Scenario: Search for a compensation agreement Given I am at the home page When I select the Agreements perspective ...
Microsoft has just released the November CTP (CTP 3) of StreamInsight. See http://www.microsoft.com/do... I've encountered some confusion from more than one person about the status of StreamInsight, so let me explain briefly that a CTP is a Community Technology Preview. It's not a beta as such. CTPs are closely aligned with the shorter iterative development cycles of agile methodologies. Many Microsoft product teams ...
My thoughts and observations of this year’s Microsoft PDC conference in LA. Day 1: Just registered for the conference. They had many reps available to move attendees through the registration process. We arrived early, and had to stand in line for 15 minutes, while all the reps stared blankly back at us; “We don’t open until 7.” Wow.. Great Customer Service. Let me take this moment to comment on the Conference bag this year. ITS A CHEAP PIECE OF CRAP. Literally, it looks like a “reusable” grocery ...
In this Issue: Avi Pilosof, Bill Reiss, Jeff Handley, Bea Stollnitz, Peter Bromberg, Deborah Kurata, Jesse Liberty, and Victor Gaudioso. Shoutouts: Interview with Bob Muglia and Steve Gillmor: Bob Muglia on Azure, Silverlight, and Realtime From the Microsoft Expression Blog: Modify the SketchFlow project settings Christian Schormann gives a list of SketchFlow and Blend at PDC ‘09 Iwan van Ee sent a link to me to his Application to view photos posted on panoramio.com. This is pretty cool, and he's ...
Microsoft recently held their Windows 7 Launch event in St. Louis where I was very fortunate to be able to deliver the Windows 7 introduction to developers track (opposite Mike Benkovich from BenkoTips.com). This St. Louis event was held at the AMC Theater’s in Creve Coeur, Missouri and supposedly drew 1200 local IT resources (roughly 600 for the developer track and 600 for the IT pro track but I didn’t get an exact count from anyone). I was involved with the developer track and in my auditorium ...
The Windows Azure team announced availability of the November 2009 CTP of Windows Azure along with new Tooling for Visual studio and an improved Development Fabric as well as samples. The official announcement is given below, straight from the horses’ mouth. Today we released several new features for Windows Azure through the Windows Azure Tools and SDK. This release adds support for Visual Studio 2010 Beta 2 and VWD Express 2010 Beta 2. What’s New · Service Model UI:A redesigned and significantly ...
I recently decieded to start merging some of my code that I use in a lot of my little projects into a centralized framework, and provide a consistant API for them. (As well as give me a reason to experiment with Visual Studio 2010 ^^). So today, I released a pre-alpha version of the "Mitch.Web" framework, currently only semi-complete API is the ILogger framework, inspired by Uwe Schmitz demo presentation (with a few design/enhancements I felt were necessary). API is similar to Uwe's, with a couple ...
Context menus really add to the user experience. You may decide to display a context popup menu when the user taps-and-holds or double-taps on the touch screen. In this post we will see how a few lines of code enable you to do just that. While reading about popup menus I came across the WM_CONTEXTMENU message. According to the windows mobile documentation that I referred this message is sent to a window when the user right clicks on the window's client area. Since I haven't yet seen a windows mobile ...
Microsoft has released a new Facebook SDK Version 3.0 (other than their old not-so-great one) and it looks to have not just updated APIs but also wide range of features supported in many application types. Quoting a related blog post from c|net “The web services report” blog: http://news.cnet.com/8301-1... Microsoft on Monday released a software development kit for Facebook that allows developers to create Facebook applications for Silverlight and Windows Presentation Foundation. ...
I thought it would be useful (at least to me!) to summarise the new stuff in Entity Framework 4 given it actually comes in 2 parts. The list is a simplified and categorised version of this and this. General Foreign Keys now added: EF 4 now includes a new type of associations (Foreign Key Associations) that allow you to have Foreign Key properties on your entities. They are the default although the EF v1 Independent Associations remain. Lazy Loading on by Default in new Models: Also name change from ...
If you are using a template document and replacing text programmatically using the Office Open XML SDK 2 API you will need a way to identify the target to be replaced. One option is to use a Content Control and setting the tag value the same for all of the controls that need to be substituted with a single value. After some trial and error and a lot of digging through the DocumentReflector I came up with the following LINQ query to get a list of all blocks with the same tag name. var blocks = from ...
This post is the eighth in a series of postings, containing examples of SharePoint WebParts that anybody can build all by themselves. To read all posts in this series, or to get started with the RSSBus WebPart, go here. #8 – Twitter Many times since I originally posted about it months ago, I’ve been asked for more details about including Twitter searches and streams inside their SharePoint pages. Thanks to the Twitter API and feeds, this is very simple to do, and to change from showing searches, ...
WCF REST Starter Kit Preview 2 contains not only tools for creating REST services. It include rich set of client tools, that allow to do HTTP-requests and process service response in more convenient way. I create small overview of it basic features. We’ll create a simple WPF desktop client for Yahoo Shopping Web Services. Our client sill search products by the keyword. Details of Search API is available here, but information about GET-request format and service URI is enough. For example, if we want ...
Now that .NET Framework 4.0 Beta 2 is out let’s look again what is available for building multi-touch application in WPF. In Beta 1 we got only a preview of manipulation and inertia components. With Beta 2 we finally get access to whole touch input system, and it looks very close to what was shown on PDC last year. Here is an overview from MSDN: Elements in WPF now accept touch input. The UIElement, and UIElement3D, and ContentElement classes expose events that occur when a user touches an element ...
XMLHttpRequest (XHR) is a DOM API that can be used inside a web browser scripting language, such as JavaScript, to send an HTTP or an HTTPS request directly to a web server and load the server response data directly back into the scripting language. The technique that we are going to discuss here takes advantage of XMLHttpRequest objects readyState == 3 status (Interactive – Downloading) and responseText property to perform DOM manipulation in a browser. Here is how it works A request is initiated ...
It is quite common to display a loader-image or some kind of progress bar image in a browser when the server is busy serving the request. Before we go deep into page streaming techniques with XMLHTTPRequest call and IFrame, lets look into a simple loader icon implementation – the idea is to display “loading” image until the task completes, display the response in the browser when task ends and hide the loader image. to download the source code please click here Invoke a long task and display loader ...
.NET 4 contains rich set of tools, that allow to create parallelized code more easy. But when we start processing chunk of data in parallel threads, we need to synchronize these threads, and we need some storage for the results of work. Now exist a big number of methods, solving sync issues, and we can realize in code any of them. But MS Parallel Extensions team already do it, and .NET 4 beta versions include set of thread-safe data structures. They implement some popular types of collections, and ...
I was working on this application which runs on the PC and gets information about the windows mobile device which is connected to the PC over active sync. Now there are a couple of ways in which you can do this: 1) Create a PC app which gets all the information using RAPI api's and displays it. 2) Create two binaries, one for the PC and one for the WinMob device. The PC app launches the WinMob app remotely using RAPI API's, the WinMob app runs and writes all the information it can gather into a file ...
I ran into a small issue today when using the FluentHtml Select() HtmlHelper. My original code was not properly setting the value of the selected item in the drop down: <%=this.Select(m => m.Motorcycle.Make).Selected... Make").Options(Model.MakeLi... I kept ending up with no item being selected from the drop down even though I definitely had a vehicle Make populated in my model and my drop down was correctly populated with the collection from the “MakeList” ...
After the keynote sessions and lunch the first set of breakout sessions kicked off. Needless to say with the session line up it was difficult to choose only one to attend. However I thought it would be wise to at least see what is new and get an overview of the platform. I got to the session a bit late, but I don't think that I missed much. Arpan Shah was the speaker and it was a packed house. One of the largest rooms I have seen so far. Easily over 300 people in attendance. Here is what I caught. ...
If you haven’t heard of Office Open XML don’t be surprised. I hadn’t until a couple of months ago. In short it is a standardization of the Office document models which allows for more flexible development methods. You no longer need to have an instance of your target Office application running on a server in order to generate Word, Excel or PowerPoint documents. This is also the reason that all of the Office file extensions have a “x” suffix these days. Office Open XML files are actually zip files. ...
While working on a utility project today, I stumbled upon wanting to embed an executable inside another executable. Sounds fun doesn't it? And what is even more fun is to be able to launch the embedded exe! Basically, here's how it works. You embed Foo.exe inside Bar.exe. And by embed I mean, add Foo.exe as a resource in Bar.exe. And then from Bar.exe's code, you can launch Foo.exe using CreateProcess(). So before answering the "Why?" lets answer the "How?" Rename Foo.exe to Foo.txt. We do this just ...
Für das Monitoring der BizTalk Anwendungen wird das Tool Business Activity Monitoring (BAM) mit BizTalk mitgeliefert. Folgendes sollte die BAM Lösung in meinem Fall können: Tracken von Transaktionen über mehrere Orchestrationen Speichern von Originaldokumenten im XML Format Einsehen der Einträge mit Hilfe des BAM Portal Eine gute Übersicht zu BAM bietet das Buch "Professional BizTalk Server 2006" von Darren Jefford, Kevin B. Smith und Ewan Fairweather. (Amazon.de) Ich entschied mich für die Methode ...
Even though I heart about transactional file system support since Vista, I never really tried it. So needing to do it today I looked up ways to use it from the managed world. Turns out it's not so straightforward... In the Vista RC, to use the transactional fs support what you'd have to do is just call some win32 api methods that would signal the file system functions that there's a transaction going on. So basically you would whip up a TransactionScope, call the win32 api to set the "transaction-aware" ...
What is something that is longer than a magazine article and shorter than a book chapter? Give up? It's a Wrox-Blox that Wiley has available online with some going for less than $10.00. Written by the best programmers in the their fields, Wrox Blox are short informational pieces and code that will help get you up-to-speed and keep you up-to-date. Build the knowledge you need quickly on a wide variety of topics. In the DotNetNuke world, there are several of these available for you to review and stay ...
As a VB MVP and someone who really loves VB in general, this kind of news really makes me smile… Microsoft has heard your feedback that VB/C# content parity is a top priority for the VB community. Given that, this issue has become a top priority for the languages team. The Approach We’ve gone about a prioritized approach, in order to fill holes for the most important technologies and content types first. Here are some general guidelines we’ve used… Technologies are prioritized by the number of current ...
Here’s a great HOW TO video on Windows 7 Taskbar from Gunther Lenz, an ISV Architect Evangelist on my team. Title - Update: Windows 7 Taskbar in 5 Minutes URL - http://channel9.msdn.com/po... This is the first part of his updated ScreenCast series on implementing the Windows 7 Taskbar features in less than 5 minutes . The short video shows how to leverage the Windows 7 Taskbar Icon Overlay feature for your application. He is using the WindowsAPICodePack ...
Twitter can be a very useful source for data aggregation on any particular topic. Am building an application that will search twitter using their API and then display the results using jQuery. There are 2 ways of accomplishing something like this. We can either do the processing at the server and then populate the page or talk to Twitters REST based api directly from the client. Methods to retrieve data from the Twitter API require a GET request. Methods that submit, change, or destroy data require ...
Just like the WiFi network, every device has a unique identification, BD address, and a more readable device name for human, BT local name. As the BT name is for identification/management purpose on BT network, so it is reasonable to give a more unique name rather than default one. Since the BT stack comes with CE6 uses Computer Name as the BT name, the most straight forward way is to change the device name. Here is some approach to do that. Change the "HKEY_LOCAL_MACHINE\Ident\N... in either platform.reg ...
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 false false false false EN-US X-NONE X-NONE 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-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; ...
Maybe it is just me, but I’m not a big fan of huge amounts of XML configuration. I can get by with a few name-value pairs in an app.config or a web.config but much more makes me nervous that I’m going to mistype something and not know about it until run time. I’ve been using Unity and it has the ability to load up its configuration from the app.config or web.config. Here’s a sample: Yeah…..what else ya got? It offers a “fluent” API for programmatic registration. Sweet! Now I just have to convert ...
Continuing to share some helpful mobile development tools I find. In this post, Widgets. [If you attended one of my community talks, this is the blog post I mentioned.] The best resource for the Widget's details is the blog and MSDN page. That is what I used to prepare for my presentation and write a few widgets. The Widgets are incredibly simple. I was suprised once I read up on everything I can find. That is it. It’s all there is. Incredibly simple in v1 of Widgets for Windows Phone OS. 1. Setting ...
/* 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-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans... mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-... ...
The soon to be released Windows Embedded CE 6.0 R3 will contain a new Silverlight for Windows Embedded that will change the way great applications are developed. There are some videos available on the Windows Embedded WEB site that explain this new feature better than I can, but I want to give you a quick overview. Silverlight for Windows Embedded is not the same Silverlight that you may have seen being used by WEB sites. Instead it is a subset of the browser plug in designed to be used by stand ...
Today, I was assigned a task at work, which involved taking a CSV format flat file and submit it to a third-party web service. Well the webservice that the data needed to be posted to, is not a .NET based webservice, so the hook-ups needed to be done manually. The webservice is setup to accept an ISO Standard XML format called ADF, it's an eLead based schema used within the automotive industry to exchange prospect data from system to system. I took a look around Google, but wasn't able to find a ...
TwitApps was a great tool, it would email you when somebody @mentioned you on twitter. But, alas, they are shutting down and leaving what I think is a huge hole. So I built my own service that does the exact same thing. To use the service, visit MentionNotifier, and subscribe to your @mentions. To get notified of updates, follow @MentionNotifier or @timhibbard on twitter. Here are some of the FAQ’s: Q: What is this? A: It is a service to notify you by email when somebody has mentioned you in a tweet. ...
This is one of a series of posts on my preparations for sessions on Azure and ORMs at Software Architect 2009. [Initual release 22nd Sept 2009] [Updated 23rd Sept, with links from Julie Lerman] [Updated 2nd Oct, with slidedeck section] [Large Update 15th Dec – including PDC09 content, my new posts and plenty of stuff from Julie L, Tony and others] This is my attempt to pull together all (ok – most) of the improvements in Entity Framework 4.0 and aggregate useful resources against each. It is very ...
In this Issue: Mark Tucker, Fredrik Normén, Silverlight Toys, Nikhil Kothari, David Poll, Terence Tsang, and Bea Stollnitz. Shoutouts: If you had trouble with the SilverlightSpy site, it's back up now, so go get a copy to try! From SilverlightCream.com: Hidden Object: Episode 3 – Marking Items off the List In this espisode of his game development series, Mark Tucker creates hotspots for selecting items and marking them off on the game board. Create an automatic scrollable image slider in Silverlight ...