Click here to Skip to main content
14,176,439 members

Design and Architecture

 
QuestionLooking to figure out how to design a desktop and theme for an operating system based off of Linux. Can anyone point me in the right direction on how to do this? Anyone know of any books? Any tips? Any pointers? Any Forums? etc. The other parts are a Pin
justinsloan3217-May-19 22:18
memberjustinsloan3217-May-19 22:18 
AnswerRe: Looking to figure out how to design a desktop and theme for an operating system based off of Linux. Can anyone point me in the right direction on how to do this? Anyone know of any books? Any tips? Any pointers? Any Forums? etc. The other parts a Pin
Richard MacCutchan17-May-19 22:19
protectorRichard MacCutchan17-May-19 22:19 
GeneralRe: Looking to figure out how to design a desktop and theme for an operating system based off of Linux. Can anyone point me in the right direction on how to do this? Anyone know of any books? Any tips? Any pointers? Any Forums? etc. The other parts a Pin
justinsloan3217-May-19 22:26
memberjustinsloan3217-May-19 22:26 
GeneralRe: Looking to figure out how to design a desktop and theme for an operating system based off of Linux. Can anyone point me in the right direction on how to do this? Anyone know of any books? Any tips? Any pointers? Any Forums? etc. The other parts a Pin
Richard MacCutchan17-May-19 23:35
protectorRichard MacCutchan17-May-19 23:35 
AnswerRe: Looking to figure out how to design a desktop and theme for an operating system based off of Linux. Can anyone point me in the right direction on how to do this? Anyone know of any books? Any tips? Any pointers? Any Forums? etc. The other parts a Pin
jschell18-May-19 6:54
memberjschell18-May-19 6:54 
AnswerRe: Looking to figure out how to design a desktop and theme for an operating system based off of Linux. Can anyone point me in the right direction on how to do this? Anyone know of any books? Any tips? Any pointers? Any Forums? etc. The other parts a Pin
Gerry Schmitz18-May-19 7:15
mveGerry Schmitz18-May-19 7:15 
AnswerRe: Looking to figure out how to design a desktop and theme for an operating system based off of Linux. Can anyone point me in the right direction on how to do this? Anyone know of any books? Any tips? Any pointers? Any Forums? etc. The other parts a Pin
Dar Brett18-May-19 16:50
memberDar Brett18-May-19 16:50 
QuestionSend Purchase Order and Verify Email Pin
Kevin Marois13-May-19 13:03
professionalKevin Marois13-May-19 13:03 
AnswerRe: Send Purchase Order and Verify Email Pin
Mycroft Holmes13-May-19 15:24
memberMycroft Holmes13-May-19 15:24 
GeneralRe: Send Purchase Order and Verify Email Pin
Kevin Marois13-May-19 17:07
professionalKevin Marois13-May-19 17:07 
GeneralRe: Send Purchase Order and Verify Email Pin
Mycroft Holmes13-May-19 18:05
memberMycroft Holmes13-May-19 18:05 
GeneralRe: Send Purchase Order and Verify Email Pin
Kevin Marois13-May-19 18:53
professionalKevin Marois13-May-19 18:53 
GeneralRe: Send Purchase Order and Verify Email Pin
Mycroft Holmes13-May-19 20:53
memberMycroft Holmes13-May-19 20:53 
GeneralRe: Send Purchase Order and Verify Email Pin
Kevin Marois14-May-19 4:42
professionalKevin Marois14-May-19 4:42 
GeneralRe: Send Purchase Order and Verify Email Pin
Gerry Schmitz14-May-19 5:25
mveGerry Schmitz14-May-19 5:25 
GeneralRe: Send Purchase Order and Verify Email Pin
Mycroft Holmes14-May-19 12:51
memberMycroft Holmes14-May-19 12:51 
GeneralRe: Send Purchase Order and Verify Email Pin
Richard Deeming15-May-19 0:38
mveRichard Deeming15-May-19 0:38 
AnswerRe: Send Purchase Order and Verify Email Pin
phil.o14-May-19 5:12
mvephil.o14-May-19 5:12 
GeneralRe: Send Purchase Order and Verify Email Pin
Richard Deeming14-May-19 7:35
mveRichard Deeming14-May-19 7:35 
GeneralRe: Send Purchase Order and Verify Email Pin
phil.o14-May-19 8:30
mvephil.o14-May-19 8:30 
GeneralRe: Send Purchase Order and Verify Email Pin
Kevin Marois14-May-19 9:06
professionalKevin Marois14-May-19 9:06 
GeneralRe: Send Purchase Order and Verify Email Pin
jschell18-May-19 6:59
memberjschell18-May-19 6:59 
GeneralRe: Send Purchase Order and Verify Email Pin
phil.o18-May-19 7:19
mvephil.o18-May-19 7:19 
Questionn-Tier Architecture and Async Pin
Kevin Marois10-May-19 6:07
professionalKevin Marois10-May-19 6:07 
I have a WPF app that hits a SQL server on the network. Pretty simple. At some point I'm going to be adding both tablet and web components, so I need to introduce a WebAPI. I will probably use an Asp.Net MVC WebAPI.

Here's the question...

Right now my UI calls the BL, which in turn calls the DAL. That will then become:
Client => Controller => BL => DAL

The BL methods will then need to be async, correct?

EmployeeController
[HttpGet]
public async Task<List<EmployeeEntity>> GetAllEmployees()
{
    return await GetBL().GetAllEmployees();
}
and
BL
private async List<EmployeeEntity> GetAllEmployees()
{
    var t = await Task.Factory.StartNew(() =>
    {
        return _dal.GetAllEmployees();
    });

    return t;
}

This works and it's pretty simple, but is this the right approach for async? I'm open to suggestion.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.


modified 10-May-19 12:16pm.

AnswerRe: n-Tier Architecture and Async Pin
Richard Deeming10-May-19 6:46
mveRichard Deeming10-May-19 6:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190525.1 | Last Updated 18 May 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid