C# web graphics ?

  • Thread starter Thread starter Jack Nielsen
  • Start date Start date
J

Jack Nielsen

Is it possible to make a sprite fly around in a c# web application ?

How much graphics cappabilities are the with C# and web, I know that some of
my friends have made many nice graphics demos with java and just wondered if
C# can do anything at all ?

Does anyone have a url to a page that shows just a simple thing ?

Jack
 
Hello Jack Nielsen" no_spam,

Currently in ASP.net 2.0 it's possible only via JavaScript or with Flash

To get really dynamic graphics in web u need to use Windows Presentaion Framework
(.NET 3.0)

J> Is it possible to make a sprite fly around in a c# web application ?
J>
J> How much graphics cappabilities are the with C# and web, I know that
J> some of my friends have made many nice graphics demos with java and
J> just wondered if C# can do anything at all ?
J>
J> Does anyone have a url to a page that shows just a simple thing ?
J>
J> Jack
J>
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
It's possible to do that sort of thing in a browser with DHTML, but the
best current technology that sort of thing on the web is Flash.
However, Microsoft do have a competing technology in the pipeline with
WPF (Windows Presentation Foundation) and XAML (Extensible Application
Markup Language).

Check out Microsoft Expression Interactive Designer for more info:
http://www.microsoft.com/products/expression/en/interactive_designer/
 
Hi,

Michael said:
Hello Jack Nielsen" no_spam,

Currently in ASP.net 2.0 it's possible only via JavaScript or with Flash

That's a really limited list ;-)

You can use any plug-in in ASP.NET just like you would in HTML pages.
That opens the possibility to use: Java (applets), Flash, SVG, VML (to
cite only a few).

If you don't want a plug-in to run on the client, that limits you to
JavaScript and CSS, commonly called DHTML.

To get really dynamic graphics in web u need to use Windows Presentaion
Framework (.NET 3.0)

That's actually Windows Presentation Foundation (ex Avalon), and it has
nothing to do with ASP.NET. It will run in IE only, using a presentation
host. It will be possible to include WPF applications (actually named
XBAP or XAML Browser Applications when running in the browser) in
IFRAMES to make them run in a HTML framework, but without communication
with the HTML unfortunately (at least in V1).

Later, a technology called WPF/E (everywhere) should be released, using
a plug-in too.

Note that WPF won't necessarily be more dynamic than Flash, but it
should allow 3D effect, Bitmap effects, etc...

HTH,
Laurent
 
You have to remember that C# is executing SERVER side in any ASP.NET
system. The onyl code that is actuall executing on a browser client is
HTML, DTHML and Javascript (or Flash, or any other codebase that can
execute within a client's browser framework).

This is why a JAVA program can do the local graphic, as the langauge is
capable of executing on the client as a local program (albeit within the
relevant "sandbox" that the Java JIT creates).

The C# equivalent to this is to build a "smart client application" - one
which is deployed to a website, and when the client requests it,
downloads one or more parts of itself to run locally - as locally
executing windows Forms app (with all the graphics bells and whistles
that allows) but under special security conditions. There are all manner
of issues from availability of the .NET framework locally to security
implications for your code if it needs to use local resources like files
or printers which you will need to research.
 
Hi,

Peter said:
You have to remember that C# is executing SERVER side in any ASP.NET
system. The onyl code that is actuall executing on a browser client is
HTML, DTHML and Javascript (or Flash, or any other codebase that can
execute within a client's browser framework).

That used to be true, but WPF executes on the client. The client needs
to have .NET 3.0 installed (or in WPF/E (not out yet)) a subset of the
framework, installed as a plugin).

See other posts about this in the same thread.

Greetings,
Laurent
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

C# directx 2d 5
Sprites in C# sans DirectX 2
C# web Graphics 2
Starfield 2
Graphics in a browser 3
Which 2 in 1 or laptop for 6 year old ? 8
Graphics Path for C#/.net 3
graphical menu overlays using c# ? 1

Back
Top