Skip to content

Client Generator #516

@ehsangfl

Description

@ehsangfl

Describe the bug
When I Implement a new code generator for the client based on CSharpClientCodeGenerator, the proxy class will change and increase the lines of code. for example, every proxy class moves to its namespace instead of all proxy classes inside a namespace.

Before

namespace AppModel.Web.Model
{
public class a{}
public class b{}
}

After

namespace AppModel.Web.Model
{
public class a{}
}
namespace AppModel.Web.Model
{
public class b{}
}

I want to change the client proxy namespace through

  public override string TransformText()
  {
      return base.TransformText().Replace("AppModel.Web.Model", "AppModel.Client.Model");
  }

in the Blazer web app (blazer 8), the server has access to the client *.dll and the server model caused conflict with the client model we should change the namespace of the client

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions