Base solution for your next web application

Activities of "m.aliozkaya"

Hi @[email protected],

Power tools currently works on the dotnet 8 version. What is your project version?

Hi @johntui,

Could you share me the build errors?

Answer

Hi @WirelessDynamics,

I reproduced the problem and created an issue for it.

https://github.com/aspnetzero/aspnet-zero-core/issues/5363

Hi @johntui,

Could you install entity framework core cli with dotnet tool install --global dotnet-ef

https://learn.microsoft.com/en-us/ef/core/cli/dotnet

Answer

Hi @WirelessDynamics,

I'm not sure about the first question, you can try it. For the second question, the credentials are currently saved in local storage. If you login in one time you will be authenticated for a long time.

Answer

Hi @WirelessDynamics,

Can you send me the error screenshot? Is there of the many places? Next release in the next week, if you send me the errors we will fix in the next version.

Answer

Hi @WirelessDynamics,

You can apply this solution. I updated the answer for better solution. https://support.aspnetzero.com/QA/Questions/12129/Power-Tool-Navigation#answer-28d2167f-9e8e-1ddd-5823-3a14c9e417f3

Answer

Hi @WirelessDynamics,

For temporary solution:

Go: AspNetZeroRadTool\FileTemplates\Client\Angular\ComponentTemplate\PartialTemplates.txt and copy it to PartialTemplates.Custom.txt in the same folder.

Add following code to navigationPropertyTemplates

{
    "placeholder" : "{{NP_Fill_Null_For_Excel_Filter}}",
    "templates" : [
            {
            "relation" : "single",
            "content" : "
            undefined,"
            }
        ]
}

Update following lines with NP_Fill_Null_For_Excel_Filter instead of NP_Fill_Null_For_Filter_Generated_By_Master_Pages

{
"placeholder": "{{Get_Excel_Method_Here}}",
"condition": "{{Create_Excel_Export_Here}} == true && {{Project_Version_Here}} >= 130200",
"content": "

    exportToExcel($event): void {
        this._{{entity_Name_Plural_Here}}ServiceProxy.get{{Entity_Name_Plural_Here}}ToExcel(
        this.filterText, $event, {{Property_Filter_Param_Here}}{{NP_Filter_Param_Here}}{{NP_Fill_Null_For_Excel_Filter}}
        )
        .subscribe(result => {
            this._fileDownloadService.downloadTempFile(result);
         });
    }"
		},
        {
            "placeholder": "{{Get_Excel_Method_Here}}",
            "condition": "{{Create_Excel_Export_Here}} == true && {{Project_Version_Here}} < 130200",
            "content": "

    exportToExcel(): void {
        this._{{entity_Name_Plural_Here}}ServiceProxy.get{{Entity_Name_Plural_Here}}ToExcel(
        this.filterText, {{Property_Filter_Param_Here}}{{NP_Filter_Param_Here}}{{NP_Fill_Null_For_Excel_Filter}}
        )
        .subscribe(result => {
            this._fileDownloadService.downloadTempFile(result);
         });
    }"
        },

For the second problem, inject the repository into new fields from the constructor and use it directly. But we will fix in the next version by changing it to protected property.

Hi @huntethan89,

Could you try this solution?

Add wrap attribute to the class.

[WrapResult(WrapOnSuccess = false, WrapOnError = false)]
public class ProxyController : ProjectDemoControllerBase
{
    public async Task<IActionResult> Index()
    {
        var url = "the-url";

        // Ensure the response is fully handled by HttpProxyAsync
        await this.HttpProxyAsync(url);
        
        // Return a blank result to avoid modifying the response after it has started
        return new EmptyResult();
    }

    public Task ProxyToPHPServer()
    {
        return this.HttpProxyAsync("url");
    }
}
Answer

Hi @WirelessDynamics,

Could you share your entity.json files? For base entity and child entity. So I can offer you a temporary solution.

Showing 141 to 150 of 396 entries