New year – new blog or how to migrate Community Server to any other engine, supports XML-RPC

יום חמישי, ינואר 1, 2009

Please update your bookmarks, because the new url of this blog is http://khason.net/ (you have not update RSS feeds, it will be done automatically). Why I did it? Why I decided to go to “stand-alone”… Well. there are some reasons. Generally, I do not want to explain all those here, but trust me, there are some. The main reason is, that there is no responsible person in charge for this blog platform in Microsoft Israel. This why, if your blog is popular and you have a respect to your blog visitors, you cannot host it here… Take a look...

.NET 3.5 SP1 is RTM and available for download

יום שני, אוגוסט 11, 2008

For all those who asked, .NET 3.5 SP1 is final and available for download. What’s inside? ASP.NET Dynamic data Core improvements for CLR A lot of performance improvements in WPF ClickOnce enhancements ADO.NET with Data Services and Entity Framework LINQ2SQL and Data Provider for SQL Server 2008, that was released last week WCF with easier DataContract serialization...

Configuring and running Mono ASP.NET 3.5 (AJAX.NET) on Linux computers

יום חמישי, יולי 24, 2008

Before we will start, we should install Linux. To do this, you can download any of LiveCDs with live installation. Officially, Mono supported only on one free Linux - openSuse. However, you can make it work on any RedHat (and its alternatives), OpenSolaris. It works, but unsupported on Debians, Ubuntu and Maemo. We’ll stick to openSuse by now. Let’s install it - OS I’m assuming, that you’re installing Linux as the only OS on the...
8 תגובות

How to consume WCF or Webservice from Vista Sidebar gadget by using Silverlight?

יום שני, יוני 23, 2008

The challenge today is really simple. All we have to do is to write Silverlight Vista Sidebar Gadget, that consumes either WCF, ASMX or REST based service. Really simple, isn’t it? Let’s start Build server side services We should start from services. This is very straight forward mission. Here the logic I want to implement public string Echo(string input)     {         return string.Format("ACK...

Silverlight controls library has been upgraded to Beta 2

יום ראשון, יוני 15, 2008

Finally this weekend I got  a time to upgrade one of my OpenUp submissions, Silverlight controls library to work with Silverlight 2.0 beta 2. It was very interesting to track changes between developer’s (beta 1) and production (beta 2) go-live licenses. Let’s try to understand what has need changed. Syntax of DependencyProperty registration. Now instead of DependencyProperty.Register(name, propertyType,ownerType,propertyChangedCallback) you should use DependencyProperty.Register(name, propertyType,ownerType,typeMetadata), which, actually receives only one parameter in constructor – propertyChangedCallback. This make Silverlight to...
2 תגובות

My TechEd ‘08 presentation slides download

יום שני, אפריל 14, 2008

I do not know why, but for some reason in development section of TechEd website there are only two recording and no presentations. I do not want to wait for them to upload (we sent all presentations a while ago), so here it comes. My TechEd presentation DEV335 - Game Development Using Microsoft’s Latest Technologies. I have no recordings by now (so pity), so you’ll have to wait for Microsoft to encode and upload it. Upon it will be done, I’ll...
2 תגובות

How to have more, then one forms in page and be able to submit it to server without page refresh using ASP.NET AJAX

יום ראשון, אפריל 13, 2008

Someone asked me in Meet an Expert lunch in TechEd about having more, then one server forms in one page, using ASP.NET AJAX. The answer was simple – make only one visible at one time. Other words, hide all and show only one relevant <script runat=server language="C#"> private void Page_Load(object sender, System.EventArgs e) { Form1.Visible = !Form1.Visible; Form2.Visible = !Form2.Visible; } …<form id="Form1" runat="server" >…<form id="Form2" runat="server" visible="false">… That’s all. However, what to do if you need to...
אין תגובות

Networking and sockets in Silverlight 1.0 (mobile to?)

יום שני, מרץ 24, 2008

Well, well, well. Two days ago, we spoke about using sockets within Silverlight 2.0 and WPF. Today, we’ll make a step ahead and will use TCP or UDP client-server connection within Silverlight 1.0. Yes, 1.0 (the one with JavaScript only and no sockets). So, let’s start Rock ‘n Roll. Oh, baby – it cannot be done! Just kidding :) Silverlight 1.0 itself cannot use sockets, however ASP.NET can. We’ll reuse our socket library (from the previous post)...