Re: disable reading of asp pages



I think so. Don't put your CodeBehind class code in the Page template, but
compile it into a DLL. If you do so, the CodeBehind page does not have to be
deployed; the Page Template will use the compiled DLL instead.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
If you push something hard enough,
it will fall over.
- Fudd's First Law of Opposition

"Piz" <twiggy_it@xxxxxxxxx> wrote in message
news:1132147295.511885.74120@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> maybe i didn't explained well my problem. The web application will run
> in a intranet, so the web server will be a pc in that intranet. Not a
> remote server. So anyone could open the aspx pages for reading code
> directly from the web server folder. Have you understood?
>


.



Relevant Pages

  • Re: [!! RANT !!] This is a hack at best (C4251)
    ... Micro$oft support for STL and standards in general is absolutely appaling. ... The built DLL exports the symbols, so I am not sure why the compiler issues the warnings. ... The function template is completely ignored and not even exported. ... I hope you can provide a fix as to how to get this to work (i.e. compile ...
    (microsoft.public.dotnet.languages.vc)
  • Re: umm... something... template(s)... something else... pointer(s)... and such... 0.o yah, Im hopel
    ... It doesn't make sense to try an put a template in a DLL, ... only instantiations of templates are object code. ... ahead of time (when you compile the DLL). ...
    (comp.lang.cpp)
  • Re: Visual C++ 6.0 DLL question
    ... This method works fine and dandy for regular classes, but what about template ... I found a template class has to be all in the header ... Now I want to include a few template classes in my DLL. ... I go to compile it and the DLL is generated but not LIB or EXP files ...
    (microsoft.public.vc.language)
  • Re: [!! RANT !!] This is a hack at best (C4251)
    ... The template function won't be generated until it's instantiated. ... really cannot export template functions from a DLL. ... templatevoid foo ... the compile complains as ff: ...
    (microsoft.public.dotnet.languages.vc)
  • Re: VBA and VSTO
    ... If you compile in VB6 with Global MultiUse than all you have to do is set a reference in Excel to your dll via Tools, References and you can access your functions in the dll directly. ... You will have to register the dll as well with Windows with Regsvr32, but that can be done quite simply in VBA. ...
    (microsoft.public.excel.programming)

Quantcast