The full letter from Tom Conrad, CTO of Pandora, is available athttp://wmpoweruser.com/?p=627. Basically, Tom has stated that a version for Windows Mobile devices will be coming out, but he refuses to guarantee when. One would assume it would be sooner rather than later and would hopefully support WMV 5, 6, and 6.1.
If Tom or anyone is looking for a beta tester... :)
With the 1.7b release ofTerminalswhich supports Vista and 2008 (/admin v.s. /console switch) I have noticed a spike in activity. Here are some stats:
Downloads:
Terminals is in 14thoverall (using site search)
202 downloads per day, last 30 days
115 downloads per day, project lifetime

Page Views: Terminals is in 16thoverall (using site search)
505,362 views, project lifetime
3 page views per visit, project lifetime
45,115 views, last 30 days
2 views per visit, last 30 days

Firstthis tool writes about how the London Stock Exchange crashes, and it's all the fault of using Microsoft software. He has no evidence, mind you, but that must be it.
But oh wait, no,it was a network problem.
It still seems ridiculous that people get into this religious zealotry, and people are really into it. Is it because people like me are so annoyed by it? Some tool whose byline says he's been writing about software for 30 years doesn't make him qualified to make such asinine statements. Fortunately some people called him out on it.
But hey, clueless pundits keep those of us who endeavor in consulting rolling in the cash I suppose. Maybe we should write more about it.
Here’s what you can find on the latesttypemock racerbuild. I think it’s pretty cool.
Although I hate to quote that often, but, this one is totally worth it:
Brad Abramsrecentlywrote a referenceto this great"Evolving a .NET 3.5 Application" white paper, about the common scenario of migrating a .NEt 2.0 project to .NET 3.5.
The white paper is available in PDF formathere(direct link).
About which I quoteBrad's words:
I reader recently forwarded me an interesting case study that covers a very common scenario: Porting a .NET Framework 2.0 based application to .NET Framework 3.5.
The paper does a nice job of providing resources to get started with, how to learn what is new in .NET 3.5, etc. As well as details on why this project made decisions it did around using WPF, WCF, etc.
I don't claim to agree with all the assertions made here, but all in all it is a very balanced, pragmatic view of what some of the common choices you will have.
The project uses client and server components and the paper talks about not only the design process but how to build AND test these. They talk about ViewModel in WPF, IoC, NUnit and VSTS, etc
Enjoy!
Yeah, Enjoy :).
I just finished reading a review copy of“ Programming .NET 3.5 ” from O’Reilly. The book, published in August, is an overview of the latest .NET Framework revision. You’ll get an introduction to the topics that have been introduced along the way that include technology from .NET 2.0, .NET 3.0, and the latest version; .NET 3.5. Also included are libraries such as ASP.NET MVC and Silverlight. You can easily pick up this book and enjoy the introductions to technologies such as Windows Communication...(read more)
With the release of the latest security updates, it made me think about how painful it is to have to reboot a server because of applying a security update. You have to balance the need to stay secure, with keeping your server up and running. Read More......( read more ) Read More......(read more)
So you started using Silverlight and you wanted to download a RSS feed, talk to a web service or download a few images from a website to realize that many of the requests you made come back to you empty or you get the 404 error. How do I get the error when I know that web page or image is there?
There are 2 methods in Silverlight to make HTTP requests to a server, both methods WebClient and HttpWebRequest check at the destination domain for the file crossdomain.xml
WebClientwebClient =newWebClient();webClient.DownloadStringCompleted +=newDownloadStringCompletedEventHandler(this.Downloaded);webClient.DownloadStringAsync(Uri);
and…
HttpWebRequestrequest = (HttpWebRequest)HttpWebRequest.Create(Uri);request.BeginGetResponse(newAsyncCallback(ReadCallback), request);
There is no a restriction on the browser that prevents Silverlight to do a cross domain request, I do not know why Microsoft still keeps that restriction from the Silverlight plugin as just makes the developer having to create a server side proxy in each application to accomplish those requests.
<%@WebHandlerLanguage="C#"Class="SilverlightProxy"%>usingSystem;usingSystem.Web;public classSilverlightProxy:IHttpHandler{public voidProcessRequest (HttpContextcontext) {stringurl = context.Request.QueryString[0];System.Net.WebRequestreq = System.Net.WebRequest.Create(newUri(url));req.Method = context.Request.HttpMethod;if(context.Request.InputStream.Length> 0){byte[] bytes =new byte[context.Request.InputStream.Length];context.Request.InputStream.Read(bytes, 0, (int)context.Request.InputStream.Length);req.ContentLength = bytes.Length;req.ContentType ="application/x-www-form-urlencoded";System.IO.StreamoutputStream = req.GetRequestStream();outputStream.Write(bytes, 0, bytes.Length);outputStream.Close();}System.Net.WebResponseresponse = req.GetResponse();context.Response.ContentType = response.ContentType;System.IO.StreamReaderstream =newSystem.IO.StreamReader(response.GetResponseStream());// Text responsesif(response.ContentType.Contains("text")){Updated 9/18/08
If you have been looking for a way to include your Flickr photos on your website using ASP.NET, then you definitely need to take a look at theFlickerNet API. There are several good examples on the site to help you get started, but I didn't see any that showed how to return photos from a specific set. After a little trial and error I was able to figure out how to accomplish this, and it turns out that it is quite easy.
The first issue I had was due to the fact that I am hosting my site on a managed server with 1and1.com. Turns out you have to declare the proxy directly within the FlickrNet configuration parameter. You also have to make sure that you are using your actual UserID and not your screen name. I learned this the hard way, but I discovered that the easiest way to determine your UserID is to look at the RSS feed links on any of your Flickr pages. One other issue I ran up against involved permission errors for the default cache setting for FlickrNet. I decided that I was not going to need this and simply disabled the cache setting in the web.config. Let's take a look at the necessary web.config settings. You may need to change these depending on your particular needs. Remember that the proxy setting is for sites hosted with 1and1.
Web.config
<configSections>
<sectionname="flickrNet"type="FlickrNet.FlickrConfigurationManager,FlickrNet"allowLocation="true"/>
</configSections>
<flickrNetapiKey="putyourflickrAPIkeyhere"secret="flickrsharedsecret"cacheDisabled="true">
<proxyipaddress="ntproxy.1and1.com"port="3128"/>
</flickrNet>
<
The first two entries in this serie gave you some first overview of SharePoint and development environment. Now it is time to go serious.
Data in SharePoint is different than in our usual object-oriented applications. If we want to deal with data in SharePoint we have to understand how data is organized there. This is one of the key points to successful SharePoint projects.
SharePoint Lists
SharePoint represents data as lists (SPList) that contain items (SPLitItem). In this point we can compare SharePoint lists with database tables where we have rows and columns. But there is one huge difference that makes our first approaches to zero - there is nothing static. We feel ourselves strong when we have database tables and classes and we know that each change there is another development, test and deployment task.
In SharePoint we doesn't have such a static model - users can add new columns to lists and delete existing ones. Also they can change the type of columns. This is all something new we don't see on our OO applications. SharePoint list item is like dynamic object that has some properties on one day and another properties on another day. Okay, there are some properties that never change and that are always there (unique ID-s of lists, fields and list items).
To get better picture about SharePoint lists let's compare them with database tables and classes from object-oriented programming. If you find this table somehow strange then read some introductions about O/R-mapping - you can find many interesting ideas and also understand why I made this kind of comparison.
Database
OO language
SharePoint
Table Class List Column Property Field or Site Column Row Object List Item NB!This comparison is not official. It is not even exact comparison. I provided this table just to help to get your minds clear. Also you can get some clue about how to handle SharePoint data objects in the terms that are more familiar to you.
List Templates and Forms
The table above is not really very exact. There is mentioned no list templates. In SharePoint every list you create is created by some list template. Lists by itself are called list instances as they are independent of their template and may be changed radically. After creating list I can remove some columns I don't need and add some new columns. As a result this list is not like it's template anymore.
Because users are able to create the lists by their own they need also forms to show and manipulate data in lists. Each SharePoint list has forms collection. Forms provide users with different views like detail view and edit view of list item. It is also possible to define custom forms as SharePoint is heavily using ASP.NET infrastructure.
When creating a new list from template then all default forms related to that list are copied to list's Form folder. List template defines also forms templates and during the creation of list the so-called instances of forms are created. Developers can customize and modify these forms using SharePoint Designer and that's why copies of list template forms are made.
SharePoint Fields
Now
I didn't get the job I mentioned in a fairly recent post, which was enormously disappointing. About 18 hours after that failure, I got the other job I had been after. That little negotiation made me wonder what this guy sees that the other(s) did not.
I was able to distill the reason down to one brief part of the conversation:
New boss: So why don't you just run with the things you're doing on the side?
Me: I'm not confident that I have the right business plan, and there are some experience gaps I need to fill.
NB: Well if this job fails to amuse you, I'm sure you'll have the idea a year or two from now and I'll be searching for your replacement.Simply put, the guy gets me. At the moment, I think that's more important than the prestige factor of the company that did not hire me.
I've been highly critical of using dark themes in Visual Studio particularly because the UI of VS is light in its very nature. The combination of the two proving to be an interesting proposition when using VS for large durations of time.
I digress. Recently I have suffered a few eye issues and I'm pretty much willing to try and use a dark theme now for more than an hour and then dismissing it in the hope that it may help me out a little. I have tried a few other minor solutions prior to this experiment, the most of which revolve around making the background colour of VS a slightly off-white colour. If anything that approach made things worse.
I'll be using the theme for all my coding which spans from C++ to C# and see how it goes. The theme I will use isVibrant InkbyRob Conery.
Hopefully this may help my eyes a little? ...
Originally posted athttp://msmvps.com/blogs/gbarnett. Please postallcomments there. Thanks, Granville.About 4 years ago I was consulting for one of the largest companies in Israel (about 15,000+ employees) and helping them grok TDD and automated unit testing. I had spent there over a year and a half, on and off, and was teaching both .net, C++ and java developers about the techniques and tools they can use.
I was consulting for C++, Java and .NET developers.
The C++ devs were first.
They had plenty of objections to what I was teaching them, because the amount of code refactoring they needed to do in order to make their code testable was almost unrealistic for them. Even writing new code meant writing something on top of old-untestable code, and they had a hard time adjusting to the more interface (pure virtual) based, contract driven TDD approach for new code. C++ devs has a hard time becuase it takes more code to write good testable code, and the coding tools they used (VS on windows and VI and such on UNIX based systems) didnt’ provide a good productive way to make code “bend” easily as they refactored it or created it in the first place. every little change meant a big “search and replace”. every method refactoring meant adding it the declaration in an .h file and thus they tried to have a little to do with changing code as possible.
Looking back, today they still don’t have the right infrastructure in place or the right tooling or the willingness to do unit testing or TDD becuase it’s too hard with the current tooling to accomplish it.
I had also spent some time with the .NET devs
and thought them the same things. Becuase tooling support was better it was a bit easier for them to accept the practices, but still people had a lot of trouble grasping concepts such as dependency injection, inversion of control and designing for testability in general. I found that most people didn’t really have a big problem with the idea of exposing things they didn’t use to expose before, it was more about the concept of learning how to refactor the code in interesting OO ways to make it testable. Making a class non sealed, a method virtual, and then inheriting from that class and testing against the inherited class (“extract and override”) was very much unintuitive for them, and other concepts like containers (spring at the time) didn’t help them get into the groove either. For them it was like drinking water from a fire hose.
Consulting for the java devs
Java has lots going for it in terms of unit testing, automation and TDD
- Java devs have a much longer“heritage” of tooling and unit testing than in the .NET world, and so you’d expect them to be more inclined to do these things.
- JUnit is part of any decent java idea so the barrier for entry should be lower, right?
- Refactoring was also in most decent java IDE's, so you’d expect them to grok that too. but that wasn’t the case.
- class methods in java are virtual by default so you can override what you want as long as the class is not sealed (final)== more testable by default.
- Java required a much higher OO learning curve to start with. Good OO knowledge is fundamental for testable designs.
Unfortunately, most developers I met didn’t even know how to use the refactoring tools they had available and had a hard time with the same dependecy injection principles that the C++ and .NET devs had. It was just too cumbersome to make the code testable, but eventually the infa team at the company had made the decision to take a coupleof weeks and make all the infra stuff replaceable for testing purposes. they did not regret that decision.
So the java group had the most success with testable designs, but they still had a hard time doing it. in fact, only the infra team at that group took the plunge. the other (higher level) devs in the java group didn’t grok it. and don’t use it today.
Why was this adoption been such a failure? They were willing to learn, but they didn’t like what they learned. It didn’t fit their needs in the real world. Or the way th
A couple of days ago, I had the pleasure of recordingEpisode 18 of Herding Code on Functional Programming and F#. The topic on their minds was around functional programming, and more in particular with some of the things I've been doing around the .NET space both C# and F#.
Some of the things I talked about in this episode were around the following topics:
- What is Functional Programming and why should we care?
- C# and the evolution of the language with functional aspects and where it falls short
- What is F# and what is the value proposition?
- Some of the uses of F#
I had a lot of fun doing this episode and I hope it shows! Feedback is always appreciated.
ript>
When developing web application, you will need to decide which date selector you are going to use , you may choose between theCaledar Extendar, or any other 3'rd party controls (like infragistics ,Telerik ,...).In the future , if you decided to change the date selector for some reason , you will need to go to all places in which you used the date selector and change the code to use the new date selector control !
The required changes could be :
- you will need to remove all "<%@ register " tags that reference the old control
- change the pages code behind to use the new control .
- also you may need to change the validations.
The Solution :
What I suggest here is that from the Beginning of the development , create a User Control that expose some properties like Selected Date(set , get) , and another property like IsRequired , and inside the user control , you can place any type of date selector control , then you just need to use this user control as a date selector in your web site , and when you want to change the date selector control , you just need to change the user control code .
Hope it helps
Anas Ghanem
This weekend I am heading to San Francisco to speak at Oracle Open World (OOW). The topic ( take a guess :) )Web Services interoperability between WCF and Oracle WebLogic. This time, I have the pleasure of sharing stage with Pyounguk Cho, Product Manager of the Oracle SOA Suite. We plan to show a real application that highlights some interesting WS-* WLS-WCF inteperability scenarios in terms of security, trust, reliable messaging, mtom and... JMS!!! Also, this is not the only WCF session at OOW!...(read more)
首页 上一页 下一页 末页When installing SharePoint, you may have decided you want to keep your data files for the database on a separate directory / drive. However, you need to keep in mind that the SharePoint installer is going to create the databases for you automatically.
To change where the config and content databases are created, you need to change the default file location within SQL Server itself prior to installation. After doing that, when you install SharePoint, it will create the databases in the appropriate locations, one of your choosing.
To change the default location for the SharePoint databases:
- Open SQL Server Management Studio. Right Click on your server name and selectProperties
- Select theDatabase Settings page. Change the directory path for theDatafiles and theLogfiles.
note: I have had one instance where they didn't... After scratching my head a little bit, a reboot of the SharePoint server resolved the issue. I guess there was a connection still open.
- Dan Lewis