.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Sharon Maxwell
Post New Web Links

OOPS

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :Windows Application
 

Common statement - "Dotnet provides a common object oriented programming model across the languages it support."

One of the languages supported by CLR is 'C'. does the above statement mean that 'C' supports OOPS???

Regards,
NetQuestions




View Complete Post


More Related Resource Links

OOPS

  

Common statement - "Dotnet provides a common object oriented programming model across the languages it support."

One of the languages supported by CLR is 'C'. does the above statement mean that 'C' supports OOPS???

Regards,
NetQuestions


OOPS related question

  

Hi

I am trying to use some 3rd party web service

for which i hv sample file which is writen in C# and same I am trying to rewrite in vb.net for implement

till last line I hv understood and implemented , but I am not able to understand last line in this code so pls help me to understand the last line of this code how to write same line in VB.net


AgentWS = new AgentWebRef.AgentWebServiceService();
EventWS = new EventWebRef.EventServiceService();


//The client application will receive a unique SessionId from the Agent
//Web Service upon issuing its first request. The application must
//return that SessionId cookie on every subsequent request to
//identify its session to the Agent Web Service. The application can
//easily accomplish this by simply assigning a new CookieContainer
//object to its Agent Web Service instance.


AgentWS.CookieContainer = new System.Net.CookieContainer();
Get User Info
m_Agent = new AgentWebRef.UDAgent();
m_Agent.ldapUserId = <UserId>; //UserId specified by user
AgentWebRef.UDInfo info = new AgentWebRef.UDInfo();
info.listType = 143; //GET_LOGIN_USER


AgentWebRef.User user = (AgentWebRef.User)AgentWS.getInfo(m_Agent,info);


About OOPS Classes

  
Hi,In My ASP.Net Application we are Having more than 8 classes(.cs)..Here do we need to declare these classes in every page like as below,class1 one=new class1();class2 two=new class2();class3 three=new class3();class4 four=new class4();class5 five=new class5(); class6 six=new class6(); class7 seven=new class7(); class4 eight=new class8();We feel its too hard to declare every page like this.. is there any other option like, these will be declared in some where common places and we can declare only one instead of declare this much coding....Thank you...Athikesavan.S

oops, security oversight - how to *correctly* design this?

  

Hello,

here's the scenario... company has lots of existing reports that they pull from their own system and don't want to recreate them in their web app. Instead, I'm creating a way for them to manage uploading these reports (their system creates the pdf files, I just need to provide them the interface to upload/manage them, and of course the user facing interface to retrieve them). 

I thought I had it all worked out until I realized that even though using my interface (the web app) users will only ever see the reports they are allowed to see, there is currently nothing stopping a user from directly downloading a report file they are not supposed to if they know the path and file name.

Example folder structure on server for the uploads:
\reports\clientID\TimeStampForUniqueness\filename.pdf

like:
\reports\1003\10272010120000\WhateverTheyNameTheFile.pdf
\reports\1006\10272010021500\WhateverTheyNameTheFile.pdf

so, only users that have a matching clientID associated with their accounts should be able to access the files within the folder matching that clientID... and user accounts *can* have multiple clientID's associated with their account. I have no problem make this happend within my web UI, but again, if a user knew the actual path, they could access other client's reports, which obviously is ver

OOPS Concepts

  

Could anyone give me some simple basic examples of:

Abstraction, Encapsulation, Data Hiding.

I know about Inheritance and Polymorphism(function overloading) but not very clear about above

Thanks


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend