Convert asp.net user control to windows app?

A

aaronluna

Hi All,

I was wondering if it is possible to easily convert an asp.net user
control (.ascx) into an equivalent windows app. I plan on simply
duplicating the user control in a c# windows app through brute force,
but am becoming pressed for time with multiple deadlines. If there is
an easier way than building the entire c# app from scratch, I would
greatly appreciate the advice.

The form contains listboxes, buttons, labels, textboxes and gridviews.
It is a p.i.t.a. to create the c# listboxes and other elements when I
have perfectly good asp.net server controls doing the job on the user
control.

Any input is appreciated.

Regards,
Aaron
 
M

Michael Nemtsev

Hello (e-mail address removed),

Why not to provide the client with WebBrowser component which will use your
ASP.net control?
I was wondering if it is possible to easily convert an asp.net user
control (.ascx) into an equivalent windows app. I plan on simply
duplicating the user control in a c# windows app through brute force,

---
WBR,
Michael Nemtsev [C# MVP] :: 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
 
A

aaronluna

Michael,

The client wants to view and test the app offline, how can I make the
..ascx into an equivalent app they can use offline on their laptop, for
example.

Thanks,
Aaron

Michael said:
Hello (e-mail address removed),

Why not to provide the client with WebBrowser component which will use your
ASP.net control?
I was wondering if it is possible to easily convert an asp.net user
control (.ascx) into an equivalent windows app. I plan on simply
duplicating the user control in a c# windows app through brute force,

---
WBR,
Michael Nemtsev [C# MVP] :: 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
 
M

Michael Nemtsev

Hello (e-mail address removed),

Why not to provide them the whole site?
It may be not very good solution but definity very fast rather control converting
Michael,

The client wants to view and test the app offline, how can I make the
.ascx into an equivalent app they can use offline on their laptop, for
example.

Thanks,
Aaron
Michael said:
Hello (e-mail address removed),

Why not to provide the client with WebBrowser component which will
use your ASP.net control?
I was wondering if it is possible to easily convert an asp.net user
control (.ascx) into an equivalent windows app. I plan on simply
duplicating the user control in a c# windows app through brute
force,
---
WBR,
Michael Nemtsev [C# MVP] :: 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
---
WBR,
Michael Nemtsev [C# MVP] :: 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
 
A

aaronluna

What is the best procedure for providing the client with a copy of the
entire site they can view offline (without VS2005)?

Michael said:
Hello (e-mail address removed),

Why not to provide them the whole site?
It may be not very good solution but definity very fast rather control converting
Michael,

The client wants to view and test the app offline, how can I make the
.ascx into an equivalent app they can use offline on their laptop, for
example.

Thanks,
Aaron
Michael said:
Hello (e-mail address removed),

Why not to provide the client with WebBrowser component which will
use your ASP.net control?

I was wondering if it is possible to easily convert an asp.net user
control (.ascx) into an equivalent windows app. I plan on simply
duplicating the user control in a c# windows app through brute
force,

---
WBR,
Michael Nemtsev [C# MVP] :: 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
---
WBR,
Michael Nemtsev [C# MVP] :: 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
 
A

aaronluna

^ When I say "without VS2005", I mean the client will not have a copy
on the machine they wish to view the site on. I obviously use VS2005
to develop the site, I am just trying to give them a copy of a
particular web app so they can view and use it offline, I will provide
them with the SDK framework.

If there is a way to give them the entire site so they can view it
offline using only a browser and the .NET framework, that would help me
greatly.

Regards,
Aaron


What is the best procedure for providing the client with a copy of the
entire site they can view offline (without VS2005)?

Michael said:
Hello (e-mail address removed),

Why not to provide them the whole site?
It may be not very good solution but definity very fast rather control converting
Michael,

The client wants to view and test the app offline, how can I make the
.ascx into an equivalent app they can use offline on their laptop, for
example.

Thanks,
Aaron
Michael Nemtsev wrote:

Hello (e-mail address removed),

Why not to provide the client with WebBrowser component which will
use your ASP.net control?

I was wondering if it is possible to easily convert an asp.net user
control (.ascx) into an equivalent windows app. I plan on simply
duplicating the user control in a c# windows app through brute
force,

---
WBR,
Michael Nemtsev [C# MVP] :: 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
---
WBR,
Michael Nemtsev [C# MVP] :: 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
 
M

Michael Nemtsev

Hello (e-mail address removed),

Right mouse click on the project name in VS IDE, then "Publish Web Site"
and ship the precompiled version of your site to the client
when just web-share the folder with your site
^ When I say "without VS2005", I mean the client will not have a copy
on the machine they wish to view the site on. I obviously use VS2005
to develop the site, I am just trying to give them a copy of a
particular web app so they can view and use it offline, I will provide
them with the SDK framework.

If there is a way to give them the entire site so they can view it
offline using only a browser and the .NET framework, that would help
me greatly.

Regards,
Aaron
What is the best procedure for providing the client with a copy of
the entire site they can view offline (without VS2005)?

Michael said:
Hello (e-mail address removed),

Why not to provide them the whole site?
It may be not very good solution but definity very fast rather
control converting
Michael,

The client wants to view and test the app offline, how can I make
the .ascx into an equivalent app they can use offline on their
laptop, for example.

Thanks,
Aaron
Michael Nemtsev wrote:
Hello (e-mail address removed),

Why not to provide the client with WebBrowser component which will
use your ASP.net control?

I was wondering if it is possible to easily convert an asp.net
user control (.ascx) into an equivalent windows app. I plan on
simply duplicating the user control in a c# windows app through
brute force,

---
WBR,
Michael Nemtsev [C# MVP] :: 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
---
WBR,
Michael Nemtsev [C# MVP] :: 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
---
WBR,
Michael Nemtsev [C# MVP] :: 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
 
A

aaronluna

The client wants to view the web site on a machine that does not have
IIS installed. How can I do this without IIS?


Michael said:
Hello (e-mail address removed),

Right mouse click on the project name in VS IDE, then "Publish Web Site"
and ship the precompiled version of your site to the client
when just web-share the folder with your site
^ When I say "without VS2005", I mean the client will not have a copy
on the machine they wish to view the site on. I obviously use VS2005
to develop the site, I am just trying to give them a copy of a
particular web app so they can view and use it offline, I will provide
them with the SDK framework.

If there is a way to give them the entire site so they can view it
offline using only a browser and the .NET framework, that would help
me greatly.

Regards,
Aaron
What is the best procedure for providing the client with a copy of
the entire site they can view offline (without VS2005)?

Michael Nemtsev wrote:

Hello (e-mail address removed),

Why not to provide them the whole site?
It may be not very good solution but definity very fast rather
control converting
Michael,

The client wants to view and test the app offline, how can I make
the .ascx into an equivalent app they can use offline on their
laptop, for example.

Thanks,
Aaron
Michael Nemtsev wrote:
Hello (e-mail address removed),

Why not to provide the client with WebBrowser component which will
use your ASP.net control?

I was wondering if it is possible to easily convert an asp.net
user control (.ascx) into an equivalent windows app. I plan on
simply duplicating the user control in a c# windows app through
brute force,

---
WBR,
Michael Nemtsev [C# MVP] :: 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
---
WBR,
Michael Nemtsev [C# MVP] :: 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
---
WBR,
Michael Nemtsev [C# MVP] :: 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
 
M

Michael Nemtsev

Hello (e-mail address removed),

Is it the problem to install it?
The client wants to view the web site on a machine that does not have
IIS installed. How can I do this without IIS?

Michael said:
Hello (e-mail address removed),

Right mouse click on the project name in VS IDE, then "Publish Web
Site"
and ship the precompiled version of your site to the client
when just web-share the folder with your site
^ When I say "without VS2005", I mean the client will not have a
copy on the machine they wish to view the site on. I obviously use
VS2005 to develop the site, I am just trying to give them a copy of
a particular web app so they can view and use it offline, I will
provide them with the SDK framework.

If there is a way to give them the entire site so they can view it
offline using only a browser and the .NET framework, that would help
me greatly.

Regards,
Aaron
(e-mail address removed) wrote:
What is the best procedure for providing the client with a copy of
the entire site they can view offline (without VS2005)?

Michael Nemtsev wrote:

Hello (e-mail address removed),

Why not to provide them the whole site?
It may be not very good solution but definity very fast rather
control converting
Michael,

The client wants to view and test the app offline, how can I make
the .ascx into an equivalent app they can use offline on their
laptop, for example.

Thanks,
Aaron
Michael Nemtsev wrote:
Hello (e-mail address removed),

Why not to provide the client with WebBrowser component which
will use your ASP.net control?

I was wondering if it is possible to easily convert an asp.net
user control (.ascx) into an equivalent windows app. I plan on
simply duplicating the user control in a c# windows app through
brute force,

---
WBR,
Michael Nemtsev [C# MVP] :: 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
---
WBR,
Michael Nemtsev [C# MVP] :: 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
---
WBR,
Michael Nemtsev [C# MVP] :: 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
---
WBR,
Michael Nemtsev [C# MVP] :: 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
 
R

Rad [Visual C# MVP]

The client wants to view the web site on a machine that does not have
IIS installed. How can I do this without IIS?

You can bundle the cassini web server, or any of its alteratives with your
application for scenarios where you don't have IIS. But if its available,
try and make use of it!
 

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

Top