473,563 Members | 2,897 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Doubts in Design Level. Desktop ->Web-Based in .NET TECH.

Hi all,

We have one product. It is client/server based application. We
have developed client application in VC++ 6.0. Our client is desktop based
application like dialog based application. Client application will connect to
server according to user requests. This is current scenario.

We would like to make this application as a web-based
application. I have core functionality in VC++ application in client
application. I can put this functionality in com dlls also.

To achieve this web-based approach, what technologies I have to
select? Can you please advise me? I am planning to select aspx pages for
web-page and com dll for core functionality in VC++. Is it correct approach?
I have to give compatibility for Microsoft Windows NT/ 2000, Professional 98
SE to Windows Vista and windows 2003 server.

I will implement everything in .NET if .NET is correct
technology for this web-based application. But, I need to reuse my client
code in web-based application.

Please suggest me.

Thanks in advance

--
Thanks & Regards,
John Prasad (dkds)
Mar 30 '07 #1
2 1519
John,

First, if this is going to be a web-based application, do you mean that
you are going to have a web-based front end (i.e. something in a browser) or
will you have a client app that performs operations over the web? If the
answer is the former, then you don't have to worry about the client
machines, as you are programming against the browser (not literally, but
that is what you have to worry about when it comes to platform
considerations) . If you are going to have a client app, then I don't know
if you will be able to use .NET, since Windows 98 is a requirement (one I'd
seriously reconsider).

As for the server side, you can implement this in anything you want,
since you will be controlling the server. If all of your client code is in
C++, I wouldn't exactly rush to expose the functionality as COM components.
If you did this, and you were hosting in ASP.NET (one of the options, the
other is in WCF), then you would have to set ASPCompat to true on all of
your pages that call these COM components and it would cause a performance
hit.

I think the best bet would be to create managed wrappers for your code
using the CLI extensions for C++, and then use ASP.NET or WCF to make calls
to your components.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"John" <Jo**@discussio ns.microsoft.co mwrote in message
news:01******** *************** ***********@mic rosoft.com...
Hi all,

We have one product. It is client/server based application. We
have developed client application in VC++ 6.0. Our client is desktop
based
application like dialog based application. Client application will connect
to
server according to user requests. This is current scenario.

We would like to make this application as a web-based
application. I have core functionality in VC++ application in client
application. I can put this functionality in com dlls also.

To achieve this web-based approach, what technologies I have
to
select? Can you please advise me? I am planning to select aspx pages for
web-page and com dll for core functionality in VC++. Is it correct
approach?
I have to give compatibility for Microsoft Windows NT/ 2000, Professional
98
SE to Windows Vista and windows 2003 server.

I will implement everything in .NET if .NET is correct
technology for this web-based application. But, I need to reuse my client
code in web-based application.

Please suggest me.

Thanks in advance

--
Thanks & Regards,
John Prasad (dkds)

Mar 30 '07 #2
Nicholas,

How to create managed wrappers for C++ code (using the CLI
extensions)?

I created type library for TestDll.dll (ATL COM DLL) using tlbimp
from VS2005 command prompt. Output is TESTDLLLib.lib. It has only one
function which is CreateFileInCDr ive(). It just creates one text file in C
Drive.
code snippet:
STDMETHODIMP CMyTest::Create FileInCDrive()
{
// TODO: Add your implementation code here
FILE* fp = fopen("C:\\Test Dll.txt","w");
if (fp != NULL)
{
fprintf(fp,"%s" ,"welcome\n" );
fclose(fp);
}

return S_OK;
}

I created asp.net project and selected code behind is visual c#. I
would like to use atl com dll (TestDll.dll) in Page_Load event. Is it
possible?

In Visual C#, (i mean page_load function) I am able to create object.
But, I cannot create the TestDll.txt file.

Please suggest me.

Is it correct approach?

--
Thanks & Regards,
John.
"Nicholas Paldino [.NET/C# MVP]" wrote:
John,

First, if this is going to be a web-based application, do you mean that
you are going to have a web-based front end (i.e. something in a browser) or
will you have a client app that performs operations over the web? If the
answer is the former, then you don't have to worry about the client
machines, as you are programming against the browser (not literally, but
that is what you have to worry about when it comes to platform
considerations) . If you are going to have a client app, then I don't know
if you will be able to use .NET, since Windows 98 is a requirement (one I'd
seriously reconsider).

As for the server side, you can implement this in anything you want,
since you will be controlling the server. If all of your client code is in
C++, I wouldn't exactly rush to expose the functionality as COM components.
If you did this, and you were hosting in ASP.NET (one of the options, the
other is in WCF), then you would have to set ASPCompat to true on all of
your pages that call these COM components and it would cause a performance
hit.

I think the best bet would be to create managed wrappers for your code
using the CLI extensions for C++, and then use ASP.NET or WCF to make calls
to your components.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"John" <Jo**@discussio ns.microsoft.co mwrote in message
news:01******** *************** ***********@mic rosoft.com...
Hi all,

We have one product. It is client/server based application. We
have developed client application in VC++ 6.0. Our client is desktop
based
application like dialog based application. Client application will connect
to
server according to user requests. This is current scenario.

We would like to make this application as a web-based
application. I have core functionality in VC++ application in client
application. I can put this functionality in com dlls also.

To achieve this web-based approach, what technologies I have
to
select? Can you please advise me? I am planning to select aspx pages for
web-page and com dll for core functionality in VC++. Is it correct
approach?
I have to give compatibility for Microsoft Windows NT/ 2000, Professional
98
SE to Windows Vista and windows 2003 server.

I will implement everything in .NET if .NET is correct
technology for this web-based application. But, I need to reuse my client
code in web-based application.

Please suggest me.

Thanks in advance

--
Thanks & Regards,
John Prasad (dkds)


Apr 4 '07 #3

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

Similar topics

12
2745
by: David | last post by:
I am a full-time freelance writer. I am seeking an established, professional web designer who has designed more than one successful website for freelance writers. The individual needs to be able to do the whole job including content, design, graphics and logo. I may want some input or to supply text to work with for the content for obvious...
4
1922
by: Neal | last post by:
I'm thinking about so many posts I've read and answered in the past month - here's where my brain is at. Feel free to add and comment as you see fit. The biggest problem in web design is choosing that design before the content is set. Content is king. We need to set things up to display the text content. The smart designer knows that the...
0
3822
by: Maroller | last post by:
I have a WiFi network comprising a Netgear router, a desktop and a laptop. An ASP web service is set up on the desktop IIS. But when I try to add a web reference to an ASP web application developed on the laptop to access the desktop web service, I get an error message : "The proxy settings on this computer are not configured correctly for Web...
4
2344
by: Sarita Sai Bhushan | last post by:
Hi, While I was developing a active desktop web page in ASP.Net using server controls I faced a problem with the autopostback property of server control. The sever control I used in my aspx page is a dropdown box. After deploying the page as a active desktop page whenever the selected index of the dropdown box changes an autopopstback...
0
915
by: Sukh | last post by:
I am looking for a free tool for designing the menus, images and some kind of flash things for my personal site. I found couple of tool through google but all are demo version so I can't use all functionalites. Can anyone give me any link for any freeware tool . thanks Sukh.
0
1261
by: mracuraintegra | last post by:
I'm stuck on a pretty big problem, and can't seem to find a solution, so any help would be greatly appreciated! I'm working with the default page generated for remote desktop web clients (in the TSWeb folder), and I'm trying to automate the login. There is a UserName property that allows me to set the username, but I need to automate the...
3
1664
by: fredo | last post by:
How to design a tragically poor and inaccessible site: http://www.risd.edu/ http://www.risd.edu/ce_courselist_summer.cfm?choice=PHOTO&field=subCategory RISD is (claims to be) one of the top-tier art/design schools in the US. Menu items presented as tiny fixed-size GIFs? Whew! -- fredo http://www.simple-nude.com/
1
957
by: umeshpotdar | last post by:
what are the differences between Mobile Web Site and Desktop Web Site? which are the Accessibility can i give to Web Site for blind poeple? can I access Desktop Web Site in Mobile device or they require any different web site designing?
1
1793
by: umeshpotdar | last post by:
what are the differences between Mobile Web Site and Desktop Web Site? which are the Accessibility can i give to Web Site for blind poeple? can I access Desktop Web Site in Mobile device or they require any different web site designing?
0
1125
by: umeshpotdar | last post by:
what are the differences between Mobile Web Site and Desktop Web Site? which are the Accessibility can i give to Web Site for blind poeple? can I access Desktop Web Site in Mobile device or they require any different web site designing?
0
7888
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7642
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.