Hello,
would would be the best and simplest solution for my ASP MVC .NET Web application with LTE admin (running on IIS)?
I like to use this LTE admin for administration of a server.
The question is, how to implement the server? Would be a good idea to implement the server as WCF service project?
would would be the best and simplest solution for my ASP MVC .NET Web application with LTE admin (running on IIS)?
What is LTE Admin? Are you referring to the
Bootstrap template? What are the admin features are you planning to implement?
rudolf.pribis
The question is, how to implement the server?
Can you clarify? Are you having trouble integrating LTE Admin with MVC? Can you share your source code and explain the expected results and actual results?
rudolf.pribis
Would be a good idea to implement the server as WCF service project?
Web API is a better choice unless you need WCF specific features.
What is LTE Admin? Are you referring to the
Bootstrap template? What are the admin features are you planning to implement?
Yes, its a bootstrap template.
mgebhard
Can you clarify? Are you having trouble integrating LTE Admin with MVC? Can you share your source code and explain the expected results and actual results?
I have already build this application. To give you some details. I am building kind of server application which needs to be up and running like a windows service. The AdminLTE application should administrate this server e.g. AddClient() RemoveClient(), ...
I guess it is not a purpose of ASP .NET MVC Web Application to "host" the server application. Therefore I am wondering how to build the server (I already have a C# lib with functionality I need), or what .NET project type I should use for it.
mgebhard
Web API is a better choice unless you need WCF specific features.
My preference is to have full access to methods and properties of classes provided by the "server" project. And simple use in ASP .NET MVC Web application.
ASP.NET Web API is the best solution for managing your server side or business logic encapsulation. It has features to manage security, provides REST based API, request/response customization.
I have already build this application. To give you some details. I am building kind of server application which needs to be up and running like a windows service. The AdminLTE application should administrate this server e.g. AddClient() RemoveClient(), ...
I guess it is not a purpose of ASP .NET MVC Web Application to "host" the server application. Therefore I am wondering how to build the server (I already have a C# lib with functionality I need), or what .NET project type I should use for it.
You are trying to expose an existing C# library through a UI like MVC? Or are you trying to expose the C# library over a service layer? Or both?
rudolf.pribis
My preference is to have full access to methods and properties of classes provided by the "server" project. And simple use in ASP .NET MVC Web application.
You're asking questions as if the community knows about your "server" project. It's not clear why you have this problem. Usually, if you built a library then you are fully aware of how the library works. Are you using a 3rd party library?
Hi mgebhard,
I do not like to bother you with too much details, therefore I wrote "a server". By the server I mean a application which is up and running and clients (through ASP .NET MVC Web) can send requests. And yes, in fact the core of the server is third party library.
I was wondering in which type of application I should encapsulate it. It is an university project, so it does not need to be 100% secured.
I think I will try something like this:
I will make the interface to server via WFC Service Library
Member
3 Points
7 Posts
Using WCF service to build a server application for ASP .NET WEB application
Jun 05, 2020 11:54 AM|rudolf.pribis|LINK
Hello,
would would be the best and simplest solution for my ASP MVC .NET Web application with LTE admin (running on IIS)?
I like to use this LTE admin for administration of a server.
The question is, how to implement the server? Would be a good idea to implement the server as WCF service project?
Thanks
All-Star
52141 Points
23245 Posts
Re: Using WCF service to build a server application for ASP .NET WEB application
Jun 05, 2020 12:12 PM|mgebhard|LINK
What is LTE Admin? Are you referring to the Bootstrap template? What are the admin features are you planning to implement?
Can you clarify? Are you having trouble integrating LTE Admin with MVC? Can you share your source code and explain the expected results and actual results?
Web API is a better choice unless you need WCF specific features.
Member
3 Points
7 Posts
Re: Using WCF service to build a server application for ASP .NET WEB application
Jun 05, 2020 12:40 PM|rudolf.pribis|LINK
Yes, its a bootstrap template.
I have already build this application. To give you some details. I am building kind of server application which needs to be up and running like a windows service. The AdminLTE application should administrate this server e.g. AddClient() RemoveClient(), ...
I guess it is not a purpose of ASP .NET MVC Web Application to "host" the server application. Therefore I am wondering how to build the server (I already have a C# lib with functionality I need), or what .NET project type I should use for it.
My preference is to have full access to methods and properties of classes provided by the "server" project. And simple use in ASP .NET MVC Web application.
Contributor
3540 Points
907 Posts
Re: Using WCF service to build a server application for ASP .NET WEB application
Jun 05, 2020 12:59 PM|l.laxmikant|LINK
ASP.NET Web API is the best solution for managing your server side or business logic encapsulation. It has features to manage security, provides REST based API, request/response customization.
You may check for more infor - http://dotnetmentors.com/web-api/getting-started-with-asp-net-web-api.aspx
All-Star
52141 Points
23245 Posts
Re: Using WCF service to build a server application for ASP .NET WEB application
Jun 05, 2020 01:37 PM|mgebhard|LINK
You are trying to expose an existing C# library through a UI like MVC? Or are you trying to expose the C# library over a service layer? Or both?
You're asking questions as if the community knows about your "server" project. It's not clear why you have this problem. Usually, if you built a library then you are fully aware of how the library works. Are you using a 3rd party library?
Member
3 Points
7 Posts
Re: Using WCF service to build a server application for ASP .NET WEB application
Jun 08, 2020 12:32 PM|rudolf.pribis|LINK
Hi mgebhard,
I do not like to bother you with too much details, therefore I wrote "a server". By the server I mean a application which is up and running and clients (through ASP .NET MVC Web) can send requests. And yes, in fact the core of the server is third party library.
I was wondering in which type of application I should encapsulate it. It is an university project, so it does not need to be 100% secured.
I think I will try something like this: