Dev-igner On Blend4

3 Comments


I just finished my preparation for the session.

Why Dev-igner? For me, I see Blend as a tool that helps developers & Designers (Maybe the proper name is frontend Developers) … anyway, I’m sure that WPF, Silverlight is rarely used in Jordan; Because of:

1. Learning Curve; and as always I hear & I say: There is no time; so the small biz companies prefer to stick with Win Forms.

2. More Effort will be consumed to add WOOW effect to the application.

3. And Who Should Learn Blend? Developers? But they Love Visual Studio and they prefer to stay with it. Designers?! Same thing, they prefer illustrator & Photoshop.

I agree with you both guys? But I’m sure that you did consume any moment to know that Blend is a great tool.

It’s easier to bind targets with source, Styling & templating, XAMLing things, also you can Import your .AI, .PSD, and FXG files, and more.

If we say that Dev. should work on Blend; then he will do a catastrophe. (Thanks to their ugly taste).

And the Designer cannot do the whole Blendy things a lone also.

Finally, I face such situation and I played the 2-Face character in batman (the ugly side is the dev part); XAMLing things with VS 2008 is a really Shit. Things are better with VS 2010 but not so much.
I forced to learn it and now I do not regret.

BLEND is the Best… I can imagine if Microsoft create such a tool for HTML5… I cannot wait for that moment.

Hoping you to enjoy my session:

The Event will be at 15 June 2011 in Sumayah University.

JorDev will keeps you updated insha Allah.

 

Host WCF Service in WAS

Leave a comment


Before doing these steps; host your WCF service in IIS. I assumed that you already did that. And my target here is to host the service in WAS with net.tcp port :) thank you.

Installing WAS (you can ignore these steps if WAS already installed)

1.Control Panel >> Programs.
2.Under Programs and Features, click Turn Windows Features On And Off.
3.Select Windows Process Activation Service and its sub-features.
4.Select Microsoft .NET Framework 3.51 and its sub features.
5.Click OK.
Let’s Configure the Host Environment for the WCF Service to Support the TCP Protocol:

1.  Start inetmgr as administrator.

2.  Default site >> Right click >> Edit Bindings.

3.  If you have installed WAS correctly, it should list the default protocol bindings for the Web site, as shown in the following image:

Hosting WCF TCP Port

4.  Expand the Default Web Site item, and then click on your service (which is already hosted in IIS) application.

5.  Advanced Settings.

6.  In the Enabled Protocols add comma then net.tcp

Host WCF Service in WAS

7.  Click OK.

Now, Lets Configure the Client Application to Connect by Using the TCP Protocol.

  1. Test the service on the browser (copy paste the url to your browser) and make sure if it works.
  2. Now, Regenerate the proxy using the svcutil.exe
  3. Open the new output.config
  4. Get the new TCP Binding & endpoint from the file and add it to your client app.
    (The green bubbles below shows the net.tcp configuration).

5. Open the main() method in your client application and paste this line below:

ProductsServiceClient proxy = new ProductsServiceClient();

6. Run your app.

7. !!! What was that! Crash!

Note:
You have more than one endpoint available; you must specify which endpoint to use.

8. Just add your TCP endpoint’s name to your proxy constructor.

ProductsServiceClient proxy = new ProductsServiceClient(“NetTcpBinding_IService”);

TCP Endpoint name taken from:

10. Another Crash!! Go to the next step to solve that :) .

11.Very important notes here:

  1. In most cases your machine will block the default TCP port; which is 808.
  2. For testing turn off your firewall.
  3. Add the port to the trusted ports:
  4. And to make sure that your Firewall will not block your port (if you do not turn it off); do the following:

i.     Go to Windows Firewall with advanced security.

ii.     And finally; add the port to Inbound Rules and Outbound Rules.

Silverlight training for Designers

2 Comments


Today I finished a special training which given by a Shane Morris.

About Shane Morris

Shane Morris is one of Australia’s most respected user experience professionals. Through consulting, mentoring and training he has helped organizations create compelling digital experiences since 1991. In that time he has worked on desktop applications, internet applications, mobile user interfaces, physical devices and web sites. Shane has taught user experience topics around the world and is also a key contributor to “101 Things I Learned in Interaction Design School” at ixd101.com.

Shane has worked with companies like Microsoft, Lonely Planet, M&C Saatchi, Cochlear, Amnesia Razorfish and Sensis – helping creative and technical professionals collaborate to create services that empower, inspire and reward. His passion is transforming the complex and constrained into the simple and powerful. Not just because it’s valuable endeavour, but because it’s hard – and therefore immensely rewarding.

Shane’s previous experience includes:

  • One of Microsoft’s first User Experience Evangelists world-wide.
  • Director of Echo Interaction Design for 6 years.
  • General Manager and Principal Consultant at The Hiser Group.

 

Its really awesome training. thank you AGENDA group and thank you Microsoft.

And special thanks for eSense to pay for that :) .

Silverlight is not dead:

Leave a comment


Yesterday, Scott Guthrie talks about the future of Silverlight.
There is a really nice new features in the next Silverlight release which will be at the end of 2011. (Beta version will be released in the first quarter of next the year 2011) .

Silverlight-5 comes with new 40 features (at least) and this some of it:

- New 3D APIs in Silverlight-5.

- Silverlight-5 allows hardware video decoding support, which allows you to decode video on the GPU of a system. This enables smooth video streaming on lower end devices such as netbooks.

- With Silverlight-5; The developer can debug the binding expressions.

- Animations during Layout transitions

To see these features you can go to Scott’s blog post here and read more.

As I read before. Microsoft vision is to make Silverlight works on other devices like TVs, Microwave’s software, and on XBox also; And Windows Phone 7 is just a start of the evolution. so long Live Silverlight Smile.

RadControls for Windows Phone 7

4 Comments


Looool, I’ve got this mail from Telerik and I have a free WP7 RadControls license. I’m so happy for that.

I want to thank my TweetDeck Application for that Smile; It helps me to be one of the early people whom download the controls.

Hello Mohammad,

Thank you for downloading the CTP version of RadControls for Windows Phone.

I’m happy to let you know that as an early adopter you will receive a free license for RadControls for Windows Phone, when the product is officially released with Q1 2011. On the day of the release you will have the official version of RadControls for Windows Phone in the Download and Manage Your Products -> RadControls for Windows Phone 7 -> Product Downloads section of your Telerik account.

Our product team will greatly appreciate you feedback, do not hesitate to share it with them.

And if you are working on a Windows Phone application built with our controls, share it with us and we will help you promote it. For showcase submissions contact me directly.

Once again, thank you for your interest in our product and good luck with your development.

Ina Tontcheva

RadControls for Windows Phone Brand Manager

Telerik

http://www.telerik.com

UI + Data Virtualization

2 Comments


I read a lot of articles talked about Virtualization and Memory leaks in WPF.
Fortunately, a lot of WPF gurus talked about these issues before.

Actually, my sample is combination of two articles.
The first one is talking about Data Virtualization on codeproject and the other one talking about amazing Virtualization tile panel.

The last one is really helpful to learn how to create custom panels.

I created the sample and I decided to walk with all points which mentioned in “WPF Performance and .NET Framework Client Profile” article.

I tracked all leaks happens in the app. using ANTS Memory Profiler 6.0 … it’s a great tool.

Actually, one problem occurred with me and till now I did not find a solution for it. You can read it from this thread.

The nice thing that I prevent memory going up to hundreds of megabytes. Thank you Marko Vermeer and thank you too Daron for your help.

You can download the sample from this link.

Newer Entries

Follow

Get every new post delivered to your Inbox.