PC Review


Reply
Thread Tools Rate Thread

Database Framework and ASP.NET

 
 
Blackpaw
Guest
Posts: n/a
 
      12th Feb 2007
Hi all, architectural question here. I have a custom web framework I'm
developing that defines its own component hierarchy - all working
quite smoothly.

Now I'm adding data binding to it and have found I can integrate the
data binding from System.Windows.Forms (BindingSource etc) quite
easily and of course all the nice IDE integration & designers come
with it.

What I'm wondering is will there be any issues with referencing
System.Windows.Forms assemblies in an ASP.NET application? it all
works quite nicely on my dev machine but would there be issues with a
real IIS server hosted on a commercial ISP? e.g. missing assemblies or
security issues?

I would *really* like to avoid cloning even a subset of the existing
Winforms database infrastructure.

Thanks,

Lindsay

 
Reply With Quote
 
 
 
 
Frans Bouma [C# MVP]
Guest
Posts: n/a
 
      12th Feb 2007
Blackpaw wrote:

> Hi all, architectural question here. I have a custom web framework I'm
> developing that defines its own component hierarchy - all working
> quite smoothly.
>
> Now I'm adding data binding to it and have found I can integrate the
> data binding from System.Windows.Forms (BindingSource etc) quite
> easily and of course all the nice IDE integration & designers come
> with it.
>
> What I'm wondering is will there be any issues with referencing
> System.Windows.Forms assemblies in an ASP.NET application? it all
> works quite nicely on my dev machine but would there be issues with a
> real IIS server hosted on a commercial ISP? e.g. missing assemblies or
> security issues?
>
> I would really like to avoid cloning even a subset of the existing
> Winforms database infrastructure.


Databinding in Asp.net works via datasource controls. You shouldn't
use bindingsource controls etc, as these don't offer 2-way databinding,
datasource controls do.

FB


--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
 
Reply With Quote
 
Ignacio Machin \( .NET/ C# MVP \)
Guest
Posts: n/a
 
      12th Feb 2007

"Blackpaw" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
| Hi all, architectural question here. I have a custom web framework I'm
| developing that defines its own component hierarchy - all working
| quite smoothly.
|
| Now I'm adding data binding to it and have found I can integrate the
| data binding from System.Windows.Forms (BindingSource etc) quite
| easily and of course all the nice IDE integration & designers come
| with it.
|
| What I'm wondering is will there be any issues with referencing
| System.Windows.Forms assemblies in an ASP.NET application? it all
| works quite nicely on my dev machine but would there be issues with a
| real IIS server hosted on a commercial ISP? e.g. missing assemblies or
| security issues?

In theory it should be ok. Both namespaces are part of the framework and you
know for sure it will be present.

But my advice is that you read how the web databinding works and implement a
similar feature. I personally would find weird a web framework using the
databinding mechanism from win apps.


--
Ignacio Machin
machin AT laceupsolutions com


 
Reply With Quote
 
Blackpaw
Guest
Posts: n/a
 
      13th Feb 2007
dfghdfh

 
Reply With Quote
 
Ignacio Machin \( .NET/ C# MVP \)
Guest
Posts: n/a
 
      13th Feb 2007

"Blackpaw" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> dfghdfh
>


Your welcome


 
Reply With Quote
 
Blackpaw
Guest
Posts: n/a
 
      17th Feb 2007
On Feb 14, 1:27 am, "Ignacio Machin \( .NET/ C# MVP \)" <machin TA
laceupsolutions.com> wrote:
>
> Your welcome


Sorry - I wrote a long reply which went went missing and then a bit of
scribble to test posting

I've decided to follow your advice and research my own databinding
framework, though give the nature of my framework the winforms model
is a better match than the web framework.

Thanks - Blackpaw

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Entity Framework without a database Thes Microsoft C# .NET 1 2nd Feb 2011 02:18 AM
Re: Using Entity Framework without a database Thes Microsoft C# .NET 0 1st Feb 2011 08:48 AM
Database woes in compact framework. Attempting to add contents oflistview to database. Loogie Microsoft Dot NET Compact Framework 1 7th May 2007 07:14 PM
Database Application Development Framework Mark Olbert Microsoft Dot NET Framework Forms 0 22nd Nov 2005 09:31 PM
Access database and the .Net Framework Mario Microsoft Dot NET 12 16th Mar 2004 05:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:40 AM.