473,396 Members | 1,792 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to use client-side assembly via a web application

Hi to all,

An ex-coworker of mine is learning ASP .NET for building web application.
Because I had 3 years experience in .NET programming (but zero on web
programming and ASP .NET) he asked me a question that I, in turn, ask to
you.

He ask me if it is possibile to call, from the web application running in
the user's browser, some client-side-executing assembly.

Example:

We have this ASP .NET application that produces some web form that the
remote user visualize on his browser, when the user click a button the web
app download, install and execute an assembly that, for example, print a
string on the user's printer (my friend asked exactly the capacity to use
printer, scanner and other device on the user machine).

I suggested to make a rich client with all those funcitonalities and then
connect via web service to the app, but my friend need to develop a web form
app running in the browser and make it downloads those "plug ins" (as he
call those client side assemblies) and execute them interacting with
methods, properties and events.

Do you know if is possible to do what my friend ask? There is something
similar to the use ActiveX Controls/Java Applet that use .NET assembly
instead?

Thanks

DevX
Jul 4 '06 #1
3 1473
"DevX" <i.********@the.spamwrote in message
news:O8**************@TK2MSFTNGP05.phx.gbl...
Hi to all,

An ex-coworker of mine is learning ASP .NET for building web application.
Because I had 3 years experience in .NET programming (but zero on web
programming and ASP .NET) he asked me a question that I, in turn, ask to
you.

He ask me if it is possibile to call, from the web application running in
the user's browser, some client-side-executing assembly.

Example:

We have this ASP .NET application that produces some web form that the
remote user visualize on his browser, when the user click a button the web
app download, install and execute an assembly that, for example, print a
string on the user's printer (my friend asked exactly the capacity to use
printer, scanner and other device on the user machine).

I suggested to make a rich client with all those funcitonalities and then
connect via web service to the app, but my friend need to develop a web
form
app running in the browser and make it downloads those "plug ins" (as he
call those client side assemblies) and execute them interacting with
methods, properties and events.

Do you know if is possible to do what my friend ask? There is something
similar to the use ActiveX Controls/Java Applet that use .NET assembly
instead?

Thanks

DevX

Hi DevX,

I think the ClickOnce tech could be thought to use.
More details here:
http://msdn.microsoft.com/netframewo...res/clickonce/

Anyway, the coming Vista with XAML will change the thin and rich client
world indeed.

--

Best regards,
Mike Chen

Focus on .NET & C# & ASP.NET & SQL Server

Jul 4 '06 #2
"Chagel" <ic*****@msn.comwrote in message
news:4B**********************************@microsof t.com...
Hi DevX,

I think the ClickOnce tech could be thought to use.
More details here:
http://msdn.microsoft.com/netframewo...res/clickonce/
>
Anyway, the coming Vista with XAML will change the thin and rich client
world indeed.

--

Best regards,
Mike Chen

Focus on .NET & C# & ASP.NET & SQL Server
Hi Chagel,

Thanks for your response.
You suggest to use this clickonce technology to install (semi)automatically
a windows form application on the user machine. Here some questions:

1) This windows form application must be an executable or I can install also
a class library?
2) After I install those assempbly, that expose my client-side classes, how
I use those classes in the web application?

DevX
Jul 4 '06 #3
"DevX" <i.********@the.spamwrote in message
news:OE****************@TK2MSFTNGP03.phx.gbl...
Hi Chagel,

Thanks for your response.
You suggest to use this clickonce technology to install
(semi)automatically
a windows form application on the user machine. Here some questions:

1) This windows form application must be an executable or I can install
also
a class library?
2) After I install those assempbly, that expose my client-side classes,
how
I use those classes in the web application?

DevX

DevX,

The answer is:
1. It's a windows form app can be executable itself.
2. You cann't.

it's still a kind of windows client programming, but it's a architecture
technology to perform the rich client things and simple to be accessed like
b/s. It can be thought to use when you want to preform much rich client
operations. But it's another software architecture against web application.

--

Best regards,
Mike Chen

Focus on .NET & C# & ASP.NET & SQL Server

Jul 4 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: news.microsoft.com | last post by:
Hi I write dll library which one of it component will be Net socket communication. Communication is working very good, but i've got problem when client is connecting. When server is started,...
15
by: Michael Rybak | last post by:
hi, everyone. I'm writing a 2-players game that should support network mode. I'm now testing it on 1 PC since I don't have 2. I directly use sockets, and both client and server do...
2
by: Rhino | last post by:
I am trying to verify that I correctly understand something I saw in the DB2 Information Center. I am running DB2 Personal Edition V8.2.1 on Windows. I came across the following in the Info...
0
by: Harley | last post by:
Hello, I am just learning the tcp/ip functions etc under vb.net so please look over me if this is obviouse. I have been all over looking into any functions that I didn't totaly understand and...
8
by: Ankit Aneja | last post by:
i am doing here some some socket-client work in C# windows service it is working fine for multiple clients now i want to limit these multiple clients to 25 for example i want that when service...
14
by: Ankit Aneja | last post by:
The code of classes given below is for server to which clients connect i want to get ip address of client which has connected pls help how can i get //listen class public class listen {
2
by: J Huntley Palmer | last post by:
I am having a horrific time integrating uw-imap's c-client for imap support in php. The problem is a whole bunch of "Text relocation remains referenced against symbol" errors during linking....
0
by: khu84 | last post by:
Here is client server very simple code, seems to work with telnet but with with web client code gives blank output. Following is the server code:- <?php function...
2
by: nsaffary | last post by:
hi I hava a client/server program that run correctly when i run it in one computer(local) but when I run client on a one computer and run server run on another, connection does not stablish.(I set...
4
MMcCarthy
by: MMcCarthy | last post by:
http://bytes.com/images/howtos/projectscope_blocks.jpgAs a freelance IT consultant for over 10 years, I’ve come to appreciate well defined project scopes. A project scope is a common understanding...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.