How To Build Silverlight Website & Create XAP's Using Script

Feb 19, 2010

I am just getting started with Silverlight and have recently added a Silverlight project to an established solution. In this particular scenario my solution included an existing ASP.NET web site which Visual Studio kindly offered to integrated my Silverlight application into, which I accepted.

So everything is fine and all, and the Silverlight XAP is being copied to the web site's ClientBin directory when i was buiding solution through visual studio, But

I want same thing through using nant script when i am used nant script that time all project in the solution are build but recenty added silverlight website do not create XAP's in ClientBin dierctory.

I m using following script :-

target name="build" description="compiles the source code">
exec program="${framework::get-framework-directory(framework::get-target-framework())}
msbuild.exe" commandline="MY.sln" workingdir="ProjectFolder" />

View 1 Replies


Similar Messages:

Configuration :: How To Create Web Setup For A Website That Contains Silverlight

Mar 13, 2010

I am creating a web setup for a ASP.NET web application.

After creating the setup i installed in iis it running perfect except silverlight portion. It display blank in that silverlight portion. All the others aspx pages are working file.

View 1 Replies

Iis - How To Create Virtual Directory Build Website Using Nant

Aug 3, 2010

I am trying to Create Virtual Directory and develop the asp.net projects ..in IIS using NAnt script .

View 1 Replies

Create A Single Dll Using C# / How To Build A Website In Visual Studio And Publish

Mar 11, 2010

I want to write a class using c# and compile it and user this dll in many projects.


I know how to build a website in Visual Studio and publish it but Visual Studio mixes the classes and rename them to a few strang and unfamiliar names which doesn't mean anything.So my purpose is writting a class with some functions, compling them and use them in other projects.

View 5 Replies

What Is Difference Between Build Solution And Build Website

Mar 11, 2010

It may be obvious to everyone. I am learning this: what is difference between build solution and build website

View 2 Replies

C# - How To Build A Silverlight Application And Have It Work Under Application

Aug 7, 2010

If I need to build a silverlight application and have it work under my asp.net application!

Does that mean I have to create two different vs projects?

One for silverlight the other my asp.net application? Or I can have one in 1? What do I do?

View 3 Replies

Display Last 100 Visitors To Website In Silverlight?

May 13, 2010

I am interesting on log down the recent 100 visitors around the world whom have visited to my website and display their country information and IP address on the website developed by Silverlight platform.

Where can I get accurate data for detecting the visitors' IP address and geo-location information?

View 2 Replies

Put Silverlight User Control Into A Website?

Apr 14, 2010

If i have two aspx pages in each of them i want to put differents silverlight contents (2 differents usercontol) what can i do?.. am i obliged to add 2 silverlight projects with my asp.net website and insert in each page an *.xap content..?

View 1 Replies

Updating Silverlight Application @ Website?

Mar 3, 2011

I have the following scenario: a Silverlight application (constructed to be OOB) embedded at an ASP.NET website where, if the user already installed it, a label saying that is displayed; otherwise, an install button appears. Eventually I can update the .xap file available in the website.Now the problem: if the user executes the application through his Desktop/Start Menu, i'm able to update the application and suggest the user to restart it. But, if I update the .xap file and upload it again to the website, apparently no "Silverlight update" occurs, it is displayed as a new application (if the user install it again, an application icon is displayed at his desktop).

View 2 Replies

How To Build Website

Nov 8, 2010

comment: if u answer , please split your answer into numbers (like the questions) in order to avoid misunderstanding, thx :)

Hey. I'm going to finish read the book "Beginning ASP.NET 3.5 in C# 2008".

And I'm going rebuild my html gaming website (flash games website)
www.gamesff.com

In the future site, There are 3 main pages:

Homepage (Present all the New games etc...) Category Page (There are 9 games categories , it's present the games of each category)Game Page - in this page people can play the game, and see description of the game like description, date added, rating, etc... They can vote for this game too

Before I'm starting build it I have some questions.

1. I want the same Header, Footer and Menu in all the pages of my website.

How to do it: With Master Page?

2. In the Homepage I have:

Links + Pictures + Description of The 12 newest games of all the categories.
Links + Pictures + Description or of The Most Popular games of the Last week.
Links + Pictures + Description of the Last (newest) 6 Games of each category (there are 9 categories: action, shooting, sports etc...). But not games that existing in the (Newest Games section (the first section in this list).

How to do it? : With DataSet using TOP sql property???
What is the best way (for Optimum Performance)

And how to do the third section in the list, how can I insert the top games of all the categories, but not Games that presented in the first section? (I can't use normal sql SELECT because it will present the games that in the first section.

3. In the Category Page people can see the games of each category (there are 9 categories pages - for each category)... and people can order the games (date added, ratings, and popular games) by using "DropDownList".

And people can see only 30 games per page. So there are buttons of: next, 1, 2, 3 etc... (Of each order)

How to do it?? For example if I want the Action Category page order by poplar: using sql: SELECT top (30) ..... where Category='Actoin' ORDERBY Visitor_Count ??

How to do the paging?

What to use DataSet? DataReader? DataBinding?

4. And how to make the game page?

Using Query String? And select details from the database By the Game_ID of the Query String??

What to do if I want nice game's Url address? (from example the game Batman)

Address Like this http://www.gamesff.com/action/Batman

5. in the game page, the code of the flash is like this:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="525" height="400">
<param value="uploads/video-poker_0100.swf" />
<param value="high" />
<embed src="uploads/video-poker_0100.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" width="525" height="400"></embed>
</object>

How can I embed the address of the game from the database to this code?

Using Data binding of <%# GameAddress %> for example.. ?

6. I want count the number of the visitor per page. I know How to do it. But how Can I avoid from double counting of each user per day?

What to do? use database table for list of ip address and this list will clear once a day ? (But if I have thousand of visitor per day can it reduce the performance of the server if the server connect to the database for using ip address for each time that someone visits any game?

Or using cookies? Or something else?

View 5 Replies

Silverlight User Controls On A Projectless Website?

Oct 28, 2010

I'd like to know how (and if) I can integrate silverlight generated user controls in a non-silverlight projectless website (built in ASP.NET 4.0) also, How can I access a dataset that is edited on a silverlight gridview control?

View 2 Replies

Silverlight - Optimize Loading An XAP File With A Website?

Jun 10, 2010

I've been developing a game using Silverlight 4 and silversprite (http://silversprite.codeplex.com/)

This game is HEAVILY content dependent, using a lot of audio and images. My content folder is around 90 mbs worth of stuff. And because of that, my XAP file is around 60 MB, and takes 5 minutes to download from the website before any user can start playing.

I am using Visual Web Developer 2010 to create my site and load the XAP. Is there a way where I can take content out of my XAP and put it in my ASP.net site project? Or perhaps upload my content files to the site's storage?

This would make my XAP file much quicker to download.

View 2 Replies

How To Build Subscription Website

Aug 23, 2010

I have come up with a business idea that I would like to follow, which involves me creating a subscription website with multiple levels (I'm thinking probably around the 10 mark). While I'm pretty good with VB.Net and ASP.Net, I unfortunately have no idea how I might be able to go about creating a website that would require the user to pay a monthly/yearly subscription (which would be different depending on which level they wished to choose).

View 2 Replies

C# - How To Build And Publish Website

Aug 13, 2010

How to build and publish the ASP.NET web site(Microsoft Vishul Studio->File->New->Website) using Cruise Control.net. Actually, ASP.NET Web site doesnot contain .csproj and .sln file.

View 2 Replies

Web Forms :: How To Use Silverlight Application In Already Created Website Project

Jul 17, 2010

there is already an asp.net web site developed,now due to certain requirements i want to use silverlight enabled pages in my project(for its flexible designing purpose).

View 2 Replies

How To Build Website Using Nant Script

Apr 26, 2010

I am using nant-0.90-alpha1 to build asp.net 3.5 web site. I am unable do that. When I am using msbuild , it throwing error saying unknown tag msbuild. How can I build asp.net 3.5 website using nant?

View 3 Replies

Website Build And Release Strategy?

Mar 10, 2010

We have an ASP.Net MVC solution built in VS2008 and TFS2008. We use TFS Build and use Continuous Integration.We have a deployment pipeline that enables us to progress a build, eventually, to our live site...

Internal Dev (immediate deployment following a build)
External Dev (used by internal testers to make sure it works on the production server)
External Test (used by our client to test themselves)
Live (self explanatory).

I have 2 questions relating to thisWhich ones of these should be built in Debug and which in Release?How should I write my TFSBuild.proj files to cope with this strategy?

View 1 Replies

Web Forms :: How To Build RSS Feed For Website

Feb 6, 2014

Code for RSS feed ....

View 1 Replies

Web Forms :: Can Create Windows Application Using Silverlight

May 24, 2010

Can i create Windows Application using Silverlight

View 2 Replies

How To Create A Hybrid Silverlight And Aspx Application

Jan 21, 2010

We have an ASP.Net 2.x web site. We want to migrate it to Silverlight full frame application. However, there is no way we can go away in a corner and redo every web page in SL right off the bat.

What I would like to do is build the chrome of the app (main page, dashboard, login, common system/config screens, main menu) in SL and be able to open existing .aspx pages in the main content SL frame.

From what I see there is no way to do this. I thought the Webbrowser control in SL4 would be the answer, but apparently that only works if your app is run out of browser.

So, what is my best recourse? It seems like I will have to create some type of .aspx page that hosts the .XAP and pass in the page I want it to load?

View 1 Replies

Web Forms :: Create A Registration Form Using Silverlight?

Feb 4, 2010

how to create a registeration form in asp.net using silverlight.

View 3 Replies

Configuration :: Exclude A Folder When Build The Website?

Aug 5, 2010

VWD 2008 Express.

I have a folder in my project that contains files I do not want to process (they are only for reference) when I build the web site. These files produce errors because they reference things I do not have in my site. How can I exclude a folder so that it is not processed during a build?

View 2 Replies

C# - How To Automatically Publish A Website On Build In Visual Studio 2008

Feb 14, 2010

I want to be able to automatically publish to a local folder each time a web asp.net mvc 2 project is built.

I use Visual Studio 2008.

View 7 Replies

Website Takes A Long Time To Start After Solution Build?

Apr 4, 2011

In development, our Asp.Net 4 website takes a fairly lengthy time to start after the project libraries are built

We do a fair amount of population of statics etc, but not enough to justify the length of time it takes the app to come up (probably 3-4 minutes)

We aren't building the website, just the libraries, and batch != true in the compilation element in the .config file.

I will try log some diagnostics, but any other pointers would be useful

View 2 Replies

Visual Studio 2008 - How To Resolve Build Error In Asp.net Website

Jan 31, 2011

I have one text box control on aspx page in my .net application.

and in code behind on page load event i wrote:

txt.Text = "Sample"

Now if build website on system [ windows XP ] it build properly but on system [ Windows 7 Enterprise ] it showing following error:

" Name 'txt' is not declared "

What would be the reason.Is that environment specific problem.I am using VS 2008.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved