|
Silverlight is a client-side technology - deploying to a server is
pretty much as simple as copying the xap file (and any related files) to
a folder accessible by the web server.
Do you have a more specific question?
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Please Give some easiest step to deploy the silver light project
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
I am using webservice and webreference in my project.
When i deploy and run the project it runs fine but it gives error where i called by the web service.
Thanks in advance.
|
|
|
|
|
I assume you are not pointing to localhost and you are using WCF services.
Probably you will have to create a host factory (that happened to me on the shared hosting where I have my app:
public class MyServiceHostFactory : MyServiceHostFactory
{
protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses)
{
// Specify the exact URL of your web service
Uri webServiceAddress = new Uri("http://www.mysite.com/myservice.svc");
ServiceHost webServiceHost = new ServiceHost(serviceType, webServiceAddress);
return webServiceHost;
}
How to use it, in the svc header:
<%@ ServiceHost Language="C#" Service="MyService" CodeBehind="MyService.svc.cs" Factory="MyServiceHostFactory"%>
In a separated post I send you trouble shooting links.
HTH
Braulio
/// -------------------------
Braulio Díez
DBSchemaEditor.com
Free Silverlight based DB Schema Modeling Tool
/// -------------------------
|
|
|
|
|
|
right click on server side application in your visual studio and click publish
then in your IIS server you create a virtual folder and give it the path of your deploy application.
|
|
|
|
|
Have anyone used Deepearth in Silverlight? If so, can you please give some instructions on how to show addresses in Deepearth?
Thanks,
Sam
|
|
|
|
|
|
Hi
I want to create a listbox or listview displaying various furniture parts such as "table leg" or "table top", and then I want to be able to click on these items, and then drag them onto a viewport, but soon as my mouse pointer enters the viewport, the application should generate a 3D model of a table leg or table top, and fix the model in place as soon as I release the mouse button. Similar to how MS Visio works.
Would this be possible? Any help will be appreciated!
|
|
|
|
|
|
Alrightie. As much as I hate WPF's unreasonable adoption for your typical desktop application, I actually want to write an app that has a viable need for WPF. Specifically, I'll be trying to implement some control animation and displaying graphics. To give you an idea of what I want to accomplish, check out Media Portal[^]. It has fancy control animation and displays graphics. My app will be a movie database of movies I own, and I want the interface to resemble the one used in Media Portal. I'm not necessarily interested in interfacing with Media Portal, I just want it to look kinda the same.
Any advice on where to start would be greatly appreciated.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
There is a sample application called photosuru photosuru for cataloging photos, it's interface is pretty good although its not like mediaportal/mediacenter. It is based around rss subscriptions instead of local storage but you may want to check out the source anyway.
I've looked for an app to do what you described but haven't found one I like. I also began writing one but lost interest. You way want to look at some existing ones for ideas perhaps Delicious Library (Mac) and Revolución (Java, not out yet).
I haven't used any of those composite application libraries perhaps someone else could recommend them if they're appropriate for this type of app?
|
|
|
|
|
Hi John, just incase you haven't taken a look at Sacha's Sonic[^] and Geoplaces[^] articles. They are really cool.
Also, take a look at this post on fancy cutom layouts[^]
Hope this helps :>
|
|
|
|
|
John Simmons / outlaw programmer wrote: Any advice
I have kind of hesitated to comment here but for what it's worth:
Try real hard to find something to use to create the actual UI other than using VS. VS is fine for the coding part but for visual designing a WPF UI, it's disappointing.
Line up some WPF resources before hand so you know where you can go for some specific issue. Some places specialize in the graphics portion and some in animation.
Other than that, nothing very specific. Like any other project, decide what you are going to do and how you are going to do it.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Individuality is fine, as long as we do it together - F. Burns
Help humanity, join the CodeProject grid computing team here
|
|
|
|
|
What helped me was figuring out what 'cool things' I wanted to accomplish in my app and then spending some time doing proof of concept designs in a small isolated environment so I could see the effect I wanted in some uncluttered xaml, free of all the other application stuff that would normally be there.
I also second the other comment about using a design tool like the Expression suite to do the graphics work. Although VS is (IMHO) a good development environment, it sucks for doing anything graphical and remotely 'artsy'. You will only get frustrated. Get a copy of the Expression suite to play with to do your design in and keep VS for editing code.
AT least that was my experience with Silverlight. I have not done tons of straight WPF stuff yet, but I assume the experience would be the same.
|
|
|
|
|
Hi.
How can we use LINQ to XML in SilverLight 2 ?
Thanks.
|
|
|
|
|
|
Used in my project and works pretty well.
/// -------------------------
Braulio Díez
DBSchemaEditor.com
Free Silverlight based DB Schema Modeling Tool
/// -------------------------
|
|
|
|
|
here's a code snippet
i start a new thread:
Thread timeThread = new Thread(UpdateDateTime);
timeThread.Start();
then i use this to update the labels:
delegate void UpdateDate(string date);
void updateDate(string date)
{
lblDate.Content = date;
}
delegate void UpdateTime(string time);
void updateTime(string time)
{
lblTime.Content = time;
}
void UpdateDateTime()
{
int seconds;
string time;
DateTime dt = DateTime.Now;
seconds = dt.Second;
for (; ; )
{
dt = DateTime.Now;
if (seconds != dt.Second)
{
seconds = dt.Second;
string dateString;
dateString = dt.Month + "/" + dt.Day + "/" + dt.Year;
lblDate.Dispatcher.Invoke(DispatcherPriority.Send, new UpdateDate(updateDate), dateString);
time = dt.Hour.ToString() + ":" + dt.Minute.ToString() + ":" + dt.Second.ToString();
lblTime.Dispatcher.Invoke(DispatcherPriority.Send, new UpdateTime(updateTime), time);
}
}
}
is there any more efficient way to update the clock without taking up 50% of my resources????
|
|
|
|
|
Use System.Windows.Threading.DispatcherTimer
Nick
----------------------------------
Be excellent to each other
|
|
|
|
|
works perfectly, takes up 0% of resources now. thanks so much.
|
|
|
|
|
That's not a timer, it's an endless loop. What did you expect ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
buy a quad-core and see it consumes only 25% now.
or insert a Thread.Sleep(500) in the for loop
or use a timer instead of a thread
Luc Pattyn [Forum Guidelines] [My Articles]
- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets
|
|
|
|
|
I am finding a solution in wpf which is similar to “treelistview” (http://www.codeproject.com/KB/list/treelistview.aspx)
I have an xml, which has lots of outer an inner node with same number and type of attribute.
According to hierarchy it should create tree and according to attributes it should create columns and display data contains in it.
Thanks
hiren shah
hirenkshah@gmail.com
Thanks
hiren shah
|
|
|
|
|