Integration of Python code with existing ASP.NET, C# Application - asp.net

I am planning to integrate open source ERP with my application which I‘ve been developing in asp.net, c#. I am planning to integrate one module like Purchase Module from Open ERP .The source code for the module has been downloaded which is in Python language, the related DB table structure is also available.
Please suggest me which will be the easy way of integrating open source ERP module source code which is in Python language with my present application which is in asp.net, c#.
Thanks

In honesty, this isn't going to be clearcut, as you're not just going to be able to plump a Python website alongside an ASP.Net website and have them inter-operate without a bit of effort.
One possible line of research is that you can run Open ERP using IronPython, which is a version of Python that uses .Net instead of a C Runtime. If it's written well, you may be able to then use the objects in OpenERP from your C# code to access the data saved.
What might be more simple, is to have a look around for an open .Net project that provides the functionality you're looking for...
Integrating OpenERP with .Net isn't something that can be solved in a Stack Overflow question, it's something I'd tell my boss I'd want a couple of days to research to see if it's even viable.

Related

Which language would you suggest to build web application? What is the fastest language to pick up and master?

As a complete noob, which language would you suggest to build web application? I only know a little of ASP.NET( build a small website connecting to database). What is the fastest language to pick up and master?
Language should be C#,if you want to bulid a small website try to search some example open source projects in github,It may help you to learn how to build a Asp.net website in a quick way

Single Page Application Project Templates for.NET 4.5 and Angular

Has there ever been a more confusing/difficult time to be a web developer using the Microsoft stack? That's not really my question... I know that the answer is a categorical no. :)
The single page app template that comes with VS 2013 is deplorable.
I've been working on building up a similar project template that uses Angular JS on the client, but I'm starting to spin my wheels a bit porting over the external (openId/oauth) login features.
I believe this is because of the lack of good, single-point-of-truth, and current documentation for Katana's auth/security bits and also because of how unreadable the client side code is in the S.P.A. template in visual studio 2013.
I know that I can get through it, but while I'm struggling with it, I'm wondering:
Are there any good community provided project templates or example code bases in existence that use .NET 4.5 (MVC5/Web Api 2), Angular JS, the new ASP.NET Identity stuff, and the Katana packages?
There's HotTowel.Angular, but it takes no stance on security. Besides, it's a Nuget package, which can't or shouldn't dictate as much as a proper project template can.
I agree with your observations. I have found the following setup that seems to meet your requirements and I think works very well (I don't have a template), I would suggest the following:
Create an empty WebApi2 project and adopt authentication/authorization depicted here
Use a regular index.html in the base directory as a launching point for your angular application. You can either maintain your client packages with nuget, npm, or bower.
Use whatever technique you like for organization of client code.
Personally, I would create 3 projects, One for client code, (mydomain.com) One for your api (api.mydomain.com) and one for your Model/Repository/Data Access layer.
update
Here is an open-source project that might be what you're looking for!

Fast and simple and light reports system for .NET (asp mvc)?

Does there exist a fast and light reporting system for projects in Visual Studio for projects in asp .net mvc? Crystal reports is too big and "heavy" and not a good choice for 200+ users who create a PDF report at once.
Thanks for your tips.
I like FastReport. But I just know the Delphi-Version and can't say how mature the .Net-Version is.
The Delphi-version is lightweight, easy to use but with it's scripting-possibilities very powerful.
So I think even the .Net-version should be worth a look.
Take a look into List Label (from combit), too! It has a different approach, a very good designer and direct vendor support. Distribution files are "lightweight" compared to other solutions.
Reporting services is free if you have an sql server license and if you run the reporting services server on the same db server. I consider it pretty lightweight and easy to use.
Try the ItextSharp or the nuget package
We used it's and it was fine!
DevXpress XtraReports allows you to design reports with a good designer then you use them as normal C# classes. I like it very much, you can create reports and export them to pdf file or stream on the server even with no UI at all then you can download the pdf from mvc or store it somewhere. I use it as much as I can.
There is a blog which details about using Active Reports to create reports in a MVC application. You can go through the blog here.
Active Reports is a very flexible and easy to use reporting tool,it is supported on Win Forms, Asp.net, SilverLight and supports data sources like Sql Server, My Sql, XML, Oledb etc.

I am planning to build to survey platform from scratch using ASP.net

I am planning to build an ASP.NET survey platform, that would also provide a scripting interface. I was wondering if there is an existing framework or open source platform to give a jump start.
Also would a rule engine come in handy?...
Please see my answer to the question:
Looking for the best Asp.net survey application.
for some interesting projects already in this space.
In a nutshell:
The Survey Project is one of the most mature survey applications written in ASP.NET / C#. It's open source and has full source code available.
See here: http://www.surveyproject.info/
There are also some other survey applications and "engines" available with source code, although they don't seem to be as "mature" as the aforementioned "Survey Project".
http://surveywebpart.codeplex.com/
http://websurvey.codeplex.com/
http://surveymaster.codeplex.com/

Where can I find a clean API for Visual Basic development?

I am completely new to ASP.NET programming, and was asked to work on a small project involving ASP.NET, VB (which I am new to as well) and Microsoft SQL Server 2005.
Being used to php/java I was hoping to find some kind of similar API to php.net and the javadoc. It would be very useful to have as I would prefer to work with a text editor, instead of using DreamWeaver or Visual Web Developer.
In the project I basically only need to use ASP.NET to read from a SQL 2005 database and write to JSON files. Could anyone please give me some pointers on where to find a clean and decent API to work with? I would also appreciate any input and tips I could get to get started working on this.
I would prefer to work with a text editor, instead of using DreamWeaver or Visual Web Developer.
Imo this is a mistake in .Net. The platform was built with the IDE in mind. You really will be able to get a lot more done, and do it better, if you let yourself learn to use Visual Studio.
That said, the place to look for .Net documentation is, of course, the MSDN Library. Maybe start on this page:
http://msdn.microsoft.com/en-us/library/w0x726c2.aspx
only need to use ASP.NET to read from a SQL 2005 database and write to JSON files
You might want to take a look at ASP.NET MVC.
You controllers can return a JsonReasult which will automatically result in JSON being sent. No need to define any markup.
"Could anyone please give me some
pointers on where to find a clean and
decent API to work with?"
If you want to develop a VB.NET application, you have to use the VB.NET programming language; there are no other APIs available.
Where does javadoc fit into this? That's just markup you apply to your source code to create documentation. .NET has its own system which works in the same way but is built on XML.
As Joel says, Visual Studio has everything you need. It features a visual editor but also gives you access to all the source code.
you will need to have the IDE to develop ASP.Net application. It will be much easier using it. You can find docs and articles on developing on ASP.Net in this site. its a nice one.
https://web.archive.org/web/20211027112438/https://aspnet.4guysfromrolla.com/default.aspx#Tools2
https://web.archive.org/web/20210513213529/http://aspnet.4guysfromrolla.com/articles/042705-1.aspx
https://web.archive.org/web/20210802161558/https://aspnet.4guysfromrolla.com/articles/110905-1.aspx
work on a small project involving ASP.NET, VB (which I am new to as well) and Microsoft SQL Server 2005
It might not be VB, it might be VB.Net?

Resources