New Posts New Posts RSS Feed: how to use with repository-uow solution
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

how to use with repository-uow solution

 Post Reply Post Reply
Author
kaanse View Drop Down
Newbie
Newbie
Avatar

Joined: 28-Oct-2012
Location: Turkey
Posts: 10
Post Options Post Options   Quote kaanse Quote  Post ReplyReply Direct Link To This Post Topic: how to use with repository-uow solution
    Posted: 28-Oct-2012 at 11:40am
Hey all ,

i am new at spa app,
my project working like this

first  solution - models
second solution - data using repository and uow
third solution  - business its for a bridge between clients and data solutions 
fourth solutions - clients 

i am doing like this because i am using client more than 1 
so i am not chaging anything for data and models solutions  just chaging business solution layer.
thats why client dont know anythink about data i am just calling method from client's server side with ajax
and that method just getting json result from bussiness solution methods  
 

my question is whats breeze can do for me should i need to use ? when i look now i can use breeze  instead of ajax just calling client's server methods.

idont have so much experiance, sory if its stupid question .

thanx for answers .

Back to Top
kaanse View Drop Down
Newbie
Newbie
Avatar

Joined: 28-Oct-2012
Location: Turkey
Posts: 10
Post Options Post Options   Quote kaanse Quote  Post ReplyReply Direct Link To This Post Posted: 29-Oct-2012 at 8:53am
if i dont want to use enetity for getting data  for example my 

controller

private JsonResult getUnits()
{
var gu = new unitCics();
Dictionary<string,unitlist> dicUnit=gu.getUnits();

return Json(new {dicUnit})
}

or just returning string 

private string getaa()
{
return "aaa";
}


so this geting some data from another solution and return list how can i get this list to client with breeze ?
i will bind data with knockout into list 


Edited by kaanse - 29-Oct-2012 at 8:58am
Back to Top
jtraband View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 19-Sep-2012
Posts: 55
Post Options Post Options   Quote jtraband Quote  Post ReplyReply Direct Link To This Post Posted: 29-Oct-2012 at 2:23pm
We are working on documentation, and some additional code,  to explain how to use breeze to access any third party service that provides a json payload, as well as how to expose any .NET IQueryable and still be able to use the breeze query semantics but unfortunately neither of these available yet.   
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down