Subscribe: Architecture
http://forums.asp.net/rss.aspx?ForumID=16&Mode=0
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
application  architecture  bus architecture  core  customer  data  design pattern  net  project  service bus  service  user  web 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Architecture

Architecture



Discuss and debate ASP.NET application designs.



Last Build Date: Tue, 12 Dec 2017 18:20:00 -0800

 



Integarte map application with active directory login

2017-12-12T18:20:00.477-08:00

 

I am looking to insert active directory (LDAP) authentication within existing application. It is a responsive esri map application built in JavaScript, HTML5, CSS3.

I am wondering how to achieve following with my company active directory.

1. There must be a logging or tracking system of users.

2. There should be a way to save queries or filters for users in future use.

I had written .net application that authenticate LDAP.  What are the best practise to integrate .Net with JavaScript.

Your help is greatly appreciated.




How can learn about design pattern?

2017-12-05T05:58:41.77-08:00

Dear all,

    I have some question about design pattern.  

   Q1. How can i learn about design pattern ?

   Q2. How can it help me for design a software architecture in asp.net.  

   Q3. How can i choose which design pattern is efficient for developed a software?    

            Or

Where i can learn it with certified courses. 




How to develop service bus architecture

2017-11-27T18:39:56.59-08:00

i have few question about service bus architectute.

1) what is service bus architecture
2) tell me few scenario when people go for service bus architecture?

3) how many options are there in dotnet to develop service bus architecture

4) When my site is running in private network then how to implement service bus architecture.

5) Looking for small sample code to implement and use service bus architecture.

thanks



VS Extension - "error ASPREMOTE: Object '/xxxx.rem' has been disconnected or does not exist at the server."

2017-11-27T05:50:36.847-08:00

Hello! Copying the thread from MSDN forum as adviced. We're working on VS extension that which uses aspnet_compiler.exe to pre-compile  web projects. For some of our larger test projects we're getting below error intermittently.   "error ASPREMOTE: Object '/ceaebcaa_rbae_417f_a6ce_110268039c32/jx6st@pvpdy8od2wrctdmhi_9.rem' has been disconnected or does not exist at the server." Following the articles with regards to this error, we've made the lease time to infinity of the precompiler object by overriding the InitializeLifetimeServices() method like below: public override object InitializeLifetimeService() { return null; } Source: http://www.diranieh.com/NETRemoting/InDepthRemoting.htm However, we're still getting the error time to time. Appreciate if you could help on this. We're experiencing this issue with VS Publish Utility as well. However, not so frequently. Original thread: https://social.msdn.microsoft.com/Forums/vstudio/en-US/856acebf-2799-4c36-b467-7403883168e9/vs-extension-error-aspremote-object-xxxxrem-has-been-disconnected-or-does-not-exist-at-the?forum=vsx Thank you. Thusitha. [...]



Can a mobile app synch to multiple Azure Mobile Apps?

2017-11-25T02:17:46.12-08:00

Is it possible for the same mobile app to synch tables to azure that are hosted and exposed through different Azure App Services?

In order to scale and keep things separated we are looking to expose each indipendant service from its own Azure App Service so that means we need our mobile app to synch different tables to different Azure mobile Apps,

Can this be done?




Solution and technology for between clients and servers

2017-11-15T04:08:02.64-08:00

I'm starting to build a web application and need to handle a large amount of work with databases between clients and servers.
So what is the solution to this problem and what technology to use to get the best performance.
Please advice me, thank you.




Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80040154

2017-08-18T11:26:58.98-07:00

Retrieving the COM class factory for component with CLSID {BEDCB92D-5926-4D3A-8E73-B301DB169B50} failed due to the following error: 80040154




writing to disk in background

2017-10-29T10:21:04.607-07:00

My app needs to write data to disk on a regular basis (say every 5 minutes). I currently try to do this with a System.timers.timer that is started in the Application_Start event of the Global.asax, but it doesn't seem to work all the time. Is there a better way using a long-running background worker process that does [thread sleep/do the write] in a loop? If so, is the .net BackgroundWorker class OK or should I use a different class?




ASP.NET VNC Viewer

2017-10-17T16:41:03.28-07:00

Hi,

I would like to ask about possibilities I have in ASP.NET to create a web app, that could show (and of course - control) remote computer's desktop using VNC.

I have read a little bit and I believe that Websockets (?) is something I'm looking for? I'm even looking at SignalR, which should be even easier.

Am I going the right direction here?

Thanks.




Need to suggest architecture for new project.

2017-09-23T13:08:28.367-07:00

Hi All,

I would like to suggest best architecture for my upcoming project. 

It is web based application support for mobile also.

DB is mainframe.

UI is web application.

Require more security.

Insurance domain.

1 lake customer and increase also.

Could you suggest which architecture best suite for this requirement.




about video

2017-09-15T06:48:57.04-07:00

in my site I want to let customer click video, so how to do:

1). how to store my video, in database or others?

2). how let customer browser my video smoothy?

Thank you very much.




What is the design pattern behind linq query ?

2017-08-29T05:54:00.31-07:00

What is the design pattern behind linq Query.

Student a = dbContext.Students().where().select().first()

output of students() is a Iqueryable, which is passed as input to Where(), whose ouput is again Iquerable, again passed as input to Select(), whose ouput is passed as input to first.

I need a similar functionality, where there would be multiple actions/methods, and actions/methods can be given in any order.

I checked out Chain of responsibility. But i do not want to set successor for each time I create a handler object. 




Multi-tenant architeture

2017-08-04T06:51:30.963-07:00

Hello folks

I am in the situation where I need to create following type of architecture for already hosted and developed application.

There are many enterprise level customers that are associated with application which are having loads of data. I want to keep data of every customer in a different database. Eg Customer 1 will have its data in DB1 and customer2 will have its data in DB2. Consequently data will be isolated from each other's. At the same time, I want to store the information of each customer's database (Connection String ) in a new db which will act as a metadata so that I can pull the information on request to decide which database should be opened and application can run accordingly. E.g If there is request from User1 and its database in DB1 then this info should come from metadata database.

Also could you please let me know how can I implement caching for this process as metadata should not be checked on every request (may be)?

Feel free to ask any query.

Kindly assist.




Using Parameters in ActionResult Methods

2017-08-03T19:51:54.833-07:00

 Hi,

I'm building an application that displays customers billing data and I would like some advice on the best way to pass parameters to Views or Models without allowing the user to load data they aren't supposed to see.

For example, suppose I created an action result as follows:

public ActionResult InvoiceDetail(int InvoiceNumber)
        {
            return View(etc....);
        }

The user could easily manipulate the InvoiceNumber passed in the URL to load a different invoice that doesn't belong to them.  I currently use Identities to authenticate the user so I could store the Invoice Number in the user cookie and load the detail based on the cookie value but, are there other/better ways of handling it?

Thanks




Splitting a mvc project into multiple projects

2017-07-13T10:19:37.243-07:00

Hey,

I´m currently developing an asp.net mvc app, started with 1 solution and 1 project in it. As far as I know, using this approach does not lead to problems with adding new modules, new functions etc, is that correct?

Plan is to create one working base, that - later - is used as a base for each customer ("copy" of that base for further development for a specific customer). Each customer has a need for different functions, which could be added to that project mentioned above, is that correct too?

Now a new employee suggested to split up that project into 3 projects, named web, logic and core. Adding an api, for example, would mean to create a new project on the same "level" as web, logic and core are.

Hope to explain it correctly, so that you know what I mean.

Would there be any advantage when following his suggestion?

I just read this article: http://programmingwithmosh.com/csharp/should-you-split-your-asp-net-mvc-project-into-multiple-projects/ and I think there is no advantage, right?

Thank you in advance for your help!




ASP.NET Core API/MVC solution architecture for Real-World application

2017-04-19T19:48:33.027-07:00

I know architecture questions are mostly opinion based, but I would appreciate it if you guys can glance over the structure of my project and let me know any downsides.


TestProject.Api
The web api for the application. This application references all 3 class libraries (Core, Business, Data). The StartUp.cs file will specify the TestProjectDbContext and also configure dependency injection services: ICustomerRepository, CustomerRepository - ICustomerManager, CustomerManager. This is so we can inject these into the Api controllers at run time.

TestProject.Core
This class library contains no references. It contains the Domain Models, i.e. Customer.cs. Additionally, all of the interfaces for the Repositories (Data) and Manager (Business) classes, i.e. ICustomerManager, ICustomerRepository.

TestProject.Business
This class library contains a bunch of classes with the suffix Manager. For example CustomerManager. The plan is to have this project never call the Data layer or know anything about it. Each one of the classes in here will contain all of the complex business logic. The plan is for the Api to make calls to the repository to get the params needed to call the business functions. For example, _orderRepository.GetOrderById(id), then call _orderManager.CalculateOrderTotal(order). This class library will only reference the Core project so it knows about the Domain Models and can implement the Interfaces.

TestProject.Data
This class library will have entity framework installed and will contain TestProjDbContext and a folder with all of the repositories. For example: CustomerRepository, OrderRepository, etc... It will also contain the ef Migrations folder. This class library will only reference the Core project so it knows about the Domain Models and can implement the Interfaces.

Here is a different view of it:

TestProj.Business
     CustomerManager.cs
TestProj.Core
     -Interfaces
          -Business
               ICustomerManager.cs
          -Data
               -Repositores
                    ICustomerRepository.cs
          -Models
               Customer.cs
TestProj.Data
     ArchProjDbContext.cs
     -Migrations
     -Repositories
          CustomerRepository.cs

I would like some thoughts/opinions on this architecture. The goal here is to make it so Testing will be easy and if another application were to try and hook into this it will be easy. I believe there is a benefit to having all of the Interfaces and Models in the Core project rather than the Business interfaces in the business layer and the Repository interfaces in the data layer.




How to assign numbers to image upload

2017-07-24T09:38:38.207-07:00

My apps has a Fileupload control to upload doc. I am thinking to assign a unique consecutive ID as file name to it for identification instead of user upload file name as users may use same file name in some case. What is a working approach to assign this ID and file name?

My plan is to get max ID from db storing DocIDs and add 1 to it on aspx on label and save name as this ID when user click "upload".
However what if user1 loads the page first but upload the file later than user2 who loads the same upload page later?




Which Type of Architecture we need

2017-06-17T04:57:43.407-07:00

Dear Friends,

I'm confused about my new application architecture so kindly suggest arch for below requirements.

  • I have to combine many different APIs into one APIs and make speed to call all APIs parallel and maintain speed to send consolidate data to customer.
  • In upcoming future new APIs will come to again we have to make kind of plugin and add to our Core system and work like same.
  • Problem is how to make core system to run all APIs in parallel mode.

guys as per above information this is plugin base but core system of this Arch how i build.

Thanks

Dharmesh




Which type of work flow asp.net web application and windows application do have?

2017-07-14T09:31:21.997-07:00

Hi All,

I got a question in an interview with 4 options.

Question:- What type of work flow asp.net application have

1. Down to up

2. Up to down

3. Pipeline

4. Water fall

I put the answer pipeline.

Am I right? I guess no.

What is the right answer?




Image Downloads and .NET Functions to Use

2017-07-12T20:54:06.973-07:00

We have a web server/file server which sends 1GB worth of 3000+ (in number) .PNG files from a web interface over the internet to another server at a different physical location.  This is further amplified by the fact that the set of files now to be sent to 15,000 such locations sometimes at the same time. Bandwidth at the receiving end is also an issue. 

How can I make sure I get 100% success in sending these images?

Would 'PushStreamContent' be my best bet to use in this case?, can I take advantage of BITS through .NET since all of our servers are Windows based, would this be a better solution than PushStreamContent? 

Thank you in advance.