LockedSupport for c#

Author
Guest
Super Member
  • Total Posts : 958
  • Reward points : 0
  • Joined:
  • Status: online
0

Support for c#

We are already having an existing site developed using ASP.NET and c#. Is it possible to use the SIP with our existing site? Because all your samples are in VB.NET.
#1
APGvNext (Sam)
vNext Dev
  • Total Posts : 12456
  • Reward points : 218330
  • Joined:
  • Status: offline
RE: Support for c# (permalink)
0
yes, as the SIP is written as an assembly in VB.NET code file. To use it with C#, just compile it and you can drop it in your bin directory.
#2
Guest
Super Member
  • Total Posts : 958
  • Reward points : 0
  • Joined:
  • Status: online
RE: Support for c# (permalink)
0
Thanks for your quick reply. We liked your product, before we finalize it,  Pls clarify the below. We also would like to integrate the forums from our application. So the basic functionality we require is,
1) If the member logged in to our application, clicking a hyperlink he should be re-directed to the forums with the credentials from our app.
2) Our Member registration should create the users and the respective roles in the forum.
All the above can be achieved using our ASP.NET C# app?
Thanks,
Rajan R.G
#3
APGvNext (Sam)
vNext Dev
  • Total Posts : 12456
  • Reward points : 218330
  • Joined:
  • Status: offline
RE: Support for c# (permalink)
0
http://www.aspplayground.net/forum/m_373880/tm.htm

The above document details how integration with an external membership should be done. Both of your questions are answered there.
#4
Guest
Super Member
  • Total Posts : 958
  • Reward points : 0
  • Joined:
  • Status: online
RE: Support for c# (permalink)
0
Thanks for your reply. I have seen this link earlier. If i would like to integrate, you want us to generate the session using PGDLogin class. But this is developed in VB.NET, so we can't inlcude this class in the C# project.  Pls correct me if i am wrong or do you have any other interface to achieve this?
 
Thanks & Regards,
Rajan R.G
#5
APGvNext (Sam)
vNext Dev
  • Total Posts : 12456
  • Reward points : 218330
  • Joined:
  • Status: offline
RE: Support for c# (permalink)
0
Rajan,

I already said that you can compile the class file:
yes, as the SIP is written as an assembly in VB.NET code file. To use it with C#, just compile it and you can drop it in your bin directory.

The SIP is just a .vb file, but once you compile it into a .dll file, you can use it in your C# project.
#6
IndigoLCA
New Member
  • Total Posts : 4
  • Reward points : 160
  • Joined:
  • Location: Perth WA
  • Status: offline
Re: RE: Support for c# (permalink)
0
Samuel,
 
I was wondering if you have the forum written in C# instead of VB.NET
 
VB.NET is not very popular. I was very keen to purchase aspplayground forum but when I saw it was in VB, it kinda turned me off
 
Cheers
#7
APGvNext (Sam)
vNext Dev
  • Total Posts : 12456
  • Reward points : 218330
  • Joined:
  • Status: offline
Re: RE: Support for c# (permalink)
+1 (1)
Thanks Jamie for your interest in the software first.
 
And yes, the software is written in VB.NET, and we don't currently have a C# version. Are you looking for some specific C# features to use in the software? Since both languages share the CLR, even if you have a dll written in C# you'd like to use (a server control, e.g.), it will work with the software too.
 
Thanks and I appreciate you time
#8
IndigoLCA
New Member
  • Total Posts : 4
  • Reward points : 160
  • Joined:
  • Location: Perth WA
  • Status: offline
Re: RE: Support for c# (permalink)
0
It's good to note that there are tools out there that can convert VB into C#... We can run two App_code folder for the binaries, one for VB and one for C#...
 
Check out the developerfusion website for example. They have on-the-fly conversion tool that would give you the equivalent C#.NET code of any VB.NET code that you input 
     
However, I wonder if it would be okay to convert the code to C#. Is ASPPLayground still in game ON with this strategy?
 
The reason I ask is because VB code is completely alien to me and I would love to extend what the forum already has. For eg. having a shoutbox, shopping cart, video chat forum, etc...
 
Cheers
#9
APGvNext (Sam)
vNext Dev
  • Total Posts : 12456
  • Reward points : 218330
  • Joined:
  • Status: offline
Re: RE: Support for c# (permalink)
0
It is ok with me since you are free to modify the source code. Just 2 things:
  1. I cannot support the converted code, but I can still give you some coding advise.
  2. of course, you can't distribute it
Hope I have answered your question directly.
#10
IndigoLCA
New Member
  • Total Posts : 4
  • Reward points : 160
  • Joined:
  • Location: Perth WA
  • Status: offline
Re: RE: Support for c# (permalink)
0
Very much Samuel... I will have two App_Code folder - one for C# and one for VB. May be one day I can give you the one converted in C# and you could consider using it in your future releases.
 
Basically, I will try to stay away from the original code as well by using dependency injection, software factories, etc... This way hopefully when a new release comes, I can upgrade and not break my code... 
 
My goal is to have the forum with extra functionalities, such as shout box, video chat forums, blogs, online games, music playing in the background, photo sliders - just to name a few :)
 
Are these I mentioned above available as ASPPlayGround plug-ins?
 
Thanks for your prompt reply Samuel and I look forward working with you.  
#11
APGvNext (Sam)
vNext Dev
  • Total Posts : 12456
  • Reward points : 218330
  • Joined:
  • Status: offline
Re: RE: Support for c# (permalink)
0
I see. Have you thought about building server controls (from what I see here you have the technical know how to do so) for those functionalities? We don't currently have plugins for those.
 
For blogs, we allow you to build a site blog through the Site Integration Package (w/ the messages tool) fairly easily. I am doing it here on my site:
http://www.aspplayground.net/news.aspx
#12
Jump to:
© 2013 APG vNext Commercial Version 4.3