Posted by igormoochnick on 04/18/2008
In a simple case, your Silverlight app will be connecting to the same Web Site for the web services that hosts the app itself. So the app can take it’s Uri and replace the trailing document name with the WebService address.
Uri docUri = HtmlPage.Document.DocumentUri;
Uri svcUri = new Uri(docUri, "ServiceAdress.svc");
Note that this is a simplified code that explains the idea, so, please, do not hardcode any string constants in your code – it’ll be pretty hard to reconfigure your application later. Use configuration files.
Posted in C#, Silverlight, Tutorials, WCF, Web | Leave a Comment »
Posted by igormoochnick on 03/19/2008
Check out the OpenClipArt collection of SVG files. You can find a lot of great widgets there. You can easily enjoy them in WPF/XAML as well by converting them.
One of the resources, that impressed me a lot, is a collection of the RPG items. You can see (and download) all of them on Nicu’s site. He even shared how it was made in a nice tutorial.
This can be a great start for an RPG game for the newly released XNA SDK.
If you’re curios – come to the next XNA User Group meeting. On the next meeting we’re starting to learn how to create XNA Games from the very beginning. No previous game development experience is required. If you want to learn and have fun – it’s for you.
![[workflow]](http://nicubunu.ro/pictures/rpg/map_element_process.png)
Posted in Games, Silverlight, Thoughts, Tutorials, WPF, XNA | Leave a Comment »